https://bugzilla.gnome.org/show_bug.cgi?id=619314

contains a patch and quick test xmls for much improved samplers
gegl-sampler-upsize.c and gegl-sampler-upsharp.c.

To run the xmls:

gegl file.xml -o output.png

Upsize implements the Locally Bounded Bicubic (LBB) method. It is a
good general purpose method for image transformations which don't
downsample much (e.g., enlargement, rotation).

Upsharp implements Nohalo ("no halo") with LBB finishing scheme.
Recommended for natural images, especially slightly blurry ones,
Nohalo mildly straightens and sharpens edges. It is not as good as LBB
for text-like images.

IMHO, these are the best gegl interpolatory resamplers currently
programmed for GEGL. (For "classic video game" images---think vintage
Mario Bros---a smoothing, non-interpolatory resampler, like B-Spline
smoothing or the (future version of) gegl-sampler-upsmooth.c, may be
preferable. For downsampling, for example thumbnail production, an
exact area method is preferable.)

Nicolas Robidoux
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Reply via email to