ImageGear Professional > API Reference Guide > Core Component API Reference > Core Component Functions Reference > DIB Functions > IG_DIB_info_delete |
This function deletes a DIB info object.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_DIB_info_delete( HIGDIBINFO hDIB ); |
Name | Type | Description |
hDIB | HIGDIBINFO | DIB info handle. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
All pixel formats supported by ImageGear Professional.
Copy Code
|
|
---|---|
/* Create a DIB info object describing a 24-bit RGB image */ AT_ERRCOUNT nErrcount; /* Number of errors on stack */ HIGDIBINFO hDIBInfo; /* DIB info handle */ AT_INT depths[3] = {8, 8, 8}; /* Array of channel depths */ nErrcount = IG_DIB_info_create(&hDIBInfo, 320, 240, IG_COLOR_SPACE_ID_RGB, 3, depths); /* ... */ nErrcount = IG_DIB_info_delete(hDIBInfo); |