ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Objects > IGPage Object > IGPage Methods > PalettePtrGet Method |
Returns a pointer to the palette of an image. It should only be used if the image is indexed. The palette is stored as an array of RGBQUAD entries. The number of palette entries is equal to 2^n where n is the bit depth of the indexed channel. For example, an 8-bit indexed image has 2^8 = 256 palette entries.
You can safely read and write palette data using this pointer.
PalettePtrGet() as Long
Returns a pointer to the image's palette.
N/A
None