Rescaling images with bilinear interpolation.
Files "GScaler.h" and "GScaler.cpp" implement a fast bilinear interpolation scheme to rescale a GBitmap or a GPixmap. Common setup functions are implemented by the base class GScaler. The actual function for rescaling a gray level image is implemented by class GBitmapScaler. The actual function for rescaling a color image is implemented by class GPixmapScaler.Remark --- The bilinear interpolation code relies on fixed precision tables. It becomes suboptimal when upsampling (i.e. zooming into) an image by a factor greater than eight. High contrast images displayed at high magnification may contain visible jaggies.
Alphabetic index Hierarchy of classes