[Gegl-developer] tile size in filters
Hans Petter Jansson
hpj at copyleft.no
Thu Oct 9 02:15:40 PDT 2008
On Thu, 2008-10-09 at 11:08 +0200, Dierk Fröhling wrote:
> I need to handle all pixels of an image in one tile for my new filter.
> The problem is that every pixel in the filtered image should depend on
> values from all other pixels...
> I tried out different things from other (example) filters (including the
> bounding box stuff) but my image is always split into several tiles.
> Is there any way to tell the gegl infrastructure to use the whole image
> as one tile as input pad?
> The bounding box stuff doesn't work especially because the size of
> images can differ.
> I know that this could lead to memory problems with really big images...
I wrote a color reduction filter that does Floyd-Steinberg dithering,
where each pixel depends on all previous pixels (the bottom-right pixel
depends on the entire image). It should be among the workshop filters.
Maybe that'd be useful to look at.
--
Hans Petter Jansson <hpj at copyleft.no>
More information about the Gegl-developer
mailing list