Package ch.bailu.gtk.gdkpixbuf
Interface InterpType
public interface InterpType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Best quality/speed balance; use this mode by
default.static final int
This is the slowest and highest quality
reconstruction function.static final int
Nearest neighbor sampling; this is the fastest
and lowest quality mode.static final int
This is an accurate simulation of the PostScript
image operator without any interpolation enabled.
-
Field Details
-
NEAREST
static final int NEARESTNearest neighbor sampling; this is the fastest
and lowest quality mode. Quality is normally unacceptable when scaling
down, but may be OK when scaling up.- See Also:
-
TILES
static final int TILESThis is an accurate simulation of the PostScript
image operator without any interpolation enabled. Each pixel is
rendered as a tiny parallelogram of solid color, the edges of which
are implemented with antialiasing. It resembles nearest neighbor for
enlargement, and bilinear for reduction.- See Also:
-
BILINEAR
static final int BILINEARBest quality/speed balance; use this mode by
default. Bilinear interpolation. For enlargement, it is
equivalent to point-sampling the ideal bilinear-interpolated image.
For reduction, it is equivalent to laying down small tiles and
integrating over the coverage area.- See Also:
-
HYPER
static final int HYPERThis is the slowest and highest quality
reconstruction function. It is derived from the hyperbolic filters in
Wolberg's "Digital Image Warping", and is formally defined as the
hyperbolic-filter sampling the ideal hyperbolic-filter interpolated
image (the filter is designed to be idempotent for 1:1 pixel mapping).
**Deprecated**: this interpolation filter is deprecated, as in reality
it has a lower quality than the @GDK_INTERP_BILINEAR filter
(Since: 2.38)- See Also:
-