ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Core Component API Reference / Core Component Enumerations Reference / enumIGInterpolations
In This Topic
    enumIGInterpolations
    In This Topic

    This enumeration specifies types of interpolation used by ImageGear.

    Values:

    IG_INTERPOLATION_NONE No interpolation.
    IG_INTERPOLATION_AVERAGE Average interpolation.
    IG_INTERPOLATION_BILINEAR Bilinear interpolation.
    IG_INTERPOLATION_NEAREST_NEIGHBOR Nearest neighbor interpolation.
    IG_INTERPOLATION_PADDING Resize by adding padding to the image or by cropping the image (this is not an interpolation method).
    IG_INTERPOLATION_GRAYSCALE Scale to Gray interpolation method. It applies to bi-tonal images, and produces a 8-bit grayscale image as a result.
    IG_INTERPOLATION_PRESERVE_WHITE Preserve White interpolation method.
    IG_INTERPOLATION_PRESERVE_BLACK Preserve Black interpolation method.
    IG_INTERPOLATION_BICUBIC Bi-cubic interpolation method.
    IG_INTERPOLATION_CANVAS Same as IG_INTERPOLATION_PADDING.