[Gegl-developer] alignment of pixels with coordinates
Martin Nordholts
enselic at gmail.com
Wed May 27 12:17:51 PDT 2009
Hi Nicolas,
Nicolas Robidoux wrote:
> Option 1: Samplers, and the operations which call samplers, have a
> toggle which specifies which convention to use. Given that the amount
> of different code in the two cases is very small, this would seem to
> me to be the best solution.
>
Seems best to me too
> I haven't figured out what gegl-operation-point-filter.c and
> gegl-operation-area-filter.c do, but maybe they have to do
> with a way of toggling the desired coordinate/bounding box
> behavior in operations?
>
No, these two are simply abstractions/convenience-wrappers on top of
GimpOperation for creating point filters (filters that apply to single
pixels, e.g. brightness/contrast) and area filters (same as point filter
but that has "area dependencies" such as gaussian blur).
/ Martin
More information about the Gegl-developer
mailing list