Re: [Gimp-developer] correct parameters for select-color?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dov Kruger (dkruger@xxxxxxxxxxx) wrote:
> As per Sven's suggestion, instead of plugin color to alpha, I want to
> try replacing every occurrence of white pixels with transparent.
> The documentation in the browser suggests something like the following:
> 
>  (gimp-by-color-select d '(255 255 255) 0 2 0 0 0 0)
> 
> This should select color white, but I don't know how to make the
> selection transparent. Searching the calls in the browser for functions
> containing alpha and trans didn't yield anything obvious.

You are looking for (gimp-layer-add-alpha) and (gimp-edit-clear).

Hope this helps,
        Simon

-- 
              simon@xxxxxxxx              http://simon.budig.de/

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux