ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > GenerateThumbnail Method |
Creates a resized copy of the original image. This new image will be NewWidth by NewHeight.
The ResizeMode parameter is used to determine how the new pixels are to be computed from the original one. ResizeMode = IG_INTERPOLATION_NONE specifies that no interpolation is to be used. In this case, only pixel values that occur in the original image will occur in the new image.
GenerateThumbnail (ByVal dstPage As IGPage, ByVal srcPage As
IGPage, ByVal NewWidth As Long, ByVal NewHeight As Long, ByVal
ResizeMode As enumIGResizeModes)
Name | Description |
---|---|
dstPage | Reference to IGPage Object that stores the newly created thumbnail image. |
srcPage | Reference to IGPage Object that stores an image. |
NewWidth | Specifies width of the new image. |
NewHeight | Specifies height of the new image. |
ResizeMode | Specifies interpolation method to use for computing values of the pixels in the new image. |
N/A
1, 4, 8, 9-16-bit gray level, 24, 32
Image Processing and Effects