ImageGear Professional for Windows ActiveX
PalettePtrGet Method

Description:

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.

Syntax:

      PalettePtrGet() as Long

Return Value:

Returns a pointer to the image's palette.

Bits Per Pixel:

N/A

Sample:

None

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback