ImageGear Professional v18 for Mac
Deleting DIBs and DDBs

This section provides information about how to delete DIBs and DDBs.

Note that in all the above cases, ImageGear will not release memory that it did not allocate. For example, assume your application has allocated memory, created a DIB, and subsequently used an IG_image_DIB_import() call to give this DIB a HIGEAR handle. In this case, a later call to IG_image_delete() will delete the HIGEAR structure but will not free the DIB's memory. The owner of the DIB's memory (in this case, your application) would issue a free() call to free this memory.

To delete a DDB being created with IG_dspl_DDB_create, use a CGImageRelease(hBitmap) call.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback