ImageGear Professional DLL v17.1 for Windows Accusoft
IG_DIB_palette_size_get
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > DIB Functions > IG_DIB_palette_size_get

Glossary Item Box

This function returns the size of the DIB's palette, in bytes.

Declaration:

  Copy Code
AT_INT ACCUAPI IG_DIB_palette_size_get(
        HIGDIBINFO hDIB
);

Arguments:

hDIB DIB info handle.

Return Value:

DIB palette size, in bytes.

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

None

Example:

  Copy Code
HIGDIBINFO hDIB;        /* DIB info handle */
AT_INT paletteSize;     /* Returned size of palette */
paletteSize = IG_DIB_palette_size_get(hDIB);
©2012. Accusoft Corporation. All Rights Reserved.