ImageGear Professional DLL v18.1 for Windows
LPFNIG_DIB_GET_EX
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_DIB_GET_EX

Glossary Item Box

This callback function is called before writing the image header.

Declaration:

  Copy Code
typedef AT_ERRCOUNT (LPACCUAPI LPFNIG_DIB_GET_EX)( 
        LPVOID lpPrivate, 
        HIGDIBINFO* lphDIB
);

Arguments:

Name Type Description
lpPrivate LPVOID Far pointer to private data area.
lphDIB HIGDIBINFO* Extended DIB header.

Return Value:

Returns an error count.

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

Load Callback

Remarks:

The application shall create a new HIGDIBINFO object containing information about the image, and pass through the lphDIB parameter. ImageGear owns the HIGDIBINFO object after exiting from the callback, and eventually deletes it. If the image being saved has a palette, it should be passed with HIGDIBINFO as well.

©2014. Accusoft Corporation. All Rights Reserved.