Re: [Gegl-developer] Dissolve blending mode

New version that subclasses GeglOperationComposer so it could use the
buffer class methods.
* the pattern is now fixed (doesn't move when the layer is moved),
like the original
* should work with premultiplied and normal colours
* looks like the original, except that the pattern is not pixel to
pixel identical
* doesn't work when there's no underlying layer (like the other modes
at the moment)
There's a problem with the buffer's coordinates. gegl_buffer_get_x or
get_y always returns -4096. Is this the correct behaviour?

On Mon, Mar 19, 2012 at 9:53 PM, Ville Sokk <ville sokk gmail com> wrote:
Moved to GIMP.

On Sun, Mar 18, 2012 at 9:53 PM, Ville Sokk <ville sokk gmail com> wrote:
Dissolve blending mode. The category should be changed, I don't know
about the compositor categories so I just left it at
"compositors:math". I tried to follow the way GIMP's dissolve works
but gegl is obviously different. There's no mask or opacity input like
in GIMP, I assume masking or gegl:opacity is already done on the
inputs. Tell me if I need to change something or add those properties.

Attachment: gimpoperationdissolvemode.c
Description: Text Data

Attachment: gimpoperationdissolvemode.h
Description: Text Data

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