ImageGear Professional DLL v18.1 for Windows
IG_DIB_palette_size_get
Send Feedback
ImageGear Professional v18.1 > 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:

Name Type Description
hDIB HIGDIBINFO 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);
©2014. Accusoft Corporation. All Rights Reserved.