ImageGearJava Project > com.accusoft.imagegear.processing Package > ImGearProcessing Class : createThumbnail Method |
public static ImGearPage createThumbnail( ImGearPage page, int width, int height, ImGearInterpolationOptions options ) |
This method processes all channels of the image.
Interpolation options depend on the color space and bit depth of the image. Grayscale, PreserveBlack and PreserveWhite interpolations are applicable only to 1 bit images.
Average and Bilinear interpolations are not applicable to 1 bit images nor to images having a non-gray palette. Also, Bilinear interpolation cannot be applied to the images if one of the dimensions is decreased.
Use ImGearProcessingVerifier.canApplyCreateThumbnail method to check whether the operation can be performed.
com.accusoft.imagegear.core.ImGearRasterPageT:com.accusoft.imagegear.core.ImGearPage