This function deletes a DIB info object.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_DIB_info_delete( HIGDIBINFO hDIB ); |
Arguments:
hDIB | DIB info handle. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
Supported Raster Image Formats:
All pixel formats supported by ImageGear Professional.
Sample:
Annotation, Display, Filters, ImageClean, Image Processing, ISIS, JPEG, Load Callback, Medical, Multimedia, Palette Edit, Progressive JPEG, Print, TWAIN, MFC PDF Demo
Example:
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); |