ImageGear for C and C++ on Windows v19.1 - Updated
IG_REC_image_delete
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Recognition Image Preprocessing Functions > IG_REC_image_delete

Removes the specified image from the recognition image management subsystem.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_image_delete(
   HIG_REC_IMAGE hImage
);

Arguments:

Name Type Description
hImage HIG_REC_IMAGE Handle of the recognition image to be removed.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

See IG_REC_image_import.

Example:

 
Copy Code
AT_ERRCOUNT ErrCount = 0;
HIGEAR higImage = 0;
HIG_REC_IMAGE higRecImage = 0;

ErrCount += IG_load_file("Image.tif", &higImage); 
ErrCount += IG_REC_image_import(higImage, &higRecImage);
ErrCount += IG_REC_image_delete(higRecImage);

//...

ErrCount += IG_image_delete(higImage);

See Also

HIG_REC_IMAGE