ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > Promote Method |
Promotes a 1, 4, or 8-bit image to 24 bits or 32 bits, or a 1 or 4-bit image to 8 bits, or a 1-bit image to 4 bits.
The width and height of the image are not changed. Only the number of Bits Per Pixel are increased. Colors are not changed. The same color is used for each new pixel as was used in the original.
When promoting to 24-bit, levels of gray and white may appear to be slightly colored when displayed. This is due to using a common 8-bit palette to display a 24-bit color image. The actual 24-bit pixel values are correct.
Promote (ByVal pPage As IGPage, ByVal promMode As
enumIGPromotionModes)
Name | Description |
---|---|
pPage | Reference to IGPage Object. |
promMode | Specifies the promote mode. |
N/A
1, 4, 8, 9-16-bit gray level, 32
Image Processing and Effects.