ImageGear for C and C++ on Windows v19.4 - Updated
LPFNIG_DIB_CREATE_EX
API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_DIB_CREATE_EX

This callback function is called after the image header has been read.

Declaration:

 
Copy Code
typedef AT_ERRCOUNT (LPACCUAPI LPFNIG_DIB_CREATE_EX)( 
        LPVOID lpPrivate, 
        HIGDIBINFO hDIB 
);

Arguments:

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

Return Value:

Returns an error count.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Sample:

Load Callback

Remarks:

It passes image information, including palette, through HIGDIBINFO structure.

hDIB object is owned by ImageGear. The application shall not use it after exiting from the callback function, and shall not delete it.