Re: [Gimp-developer] Proposal for erasing background from an image

On 3 March 2017 at 07:22, Ofnuts <ofnuts gmx com> wrote:

On 02/03/17 10:05, Simon Budig wrote:

John Tapsell (johnflux gmail com) wrote:

So to restate this again - I want to know how to change the top layer
$latex src$ so that I can have the maximum possible alpha without
the final visual image at all.  I.e. remove as much of the background as
possible from our foreground+background image.

This is what color-to-alpha does. Except that it uses a constant color
for the whole image. It might be interesting to convert this to a gegl
op that takes two input drawable and picks the "background color" from
each corresponding pixel in the background image.

Should be an easy fun hack. Who wants to take it?


Fun hack, but would it be useful in practice? Do we want the lion to be
partially transparent because its hair is more or less the color of the dry
grass (with some help from Darwin). Try the two pictures in difference
mode, and check all the places that are near black.

This is why I was suggesting that we do it with an option for the eraser.
So that the user can have that manual control over it.   How hard would it
be to do this with the erasure tool?



gimp-developer-list mailing list
List address:    gimp-developer-list gnome org
List membership:
List archives:

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