ImageGear Professional DLL for Windows
IG_DIB_palette_size_get

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.

Send Feedback