ImageGear for C and C++ on Linux v20.0 - Updated
IG_load_thumbnail
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Load Functions > IG_load_thumbnail

This function loads a thumbnail (if one exists in the file) from file lpszFileName, and returns the HIGEAR handle of the resulting image to the HIGEAR object pointed to by argument lphIGear.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_load_thumbnail(
   const LPSTR szFileName,
   LPHIGEAR lphIGear
);

Arguments:

Name Type Description
szFileName const LPSTR Name of file.
lphIGear LPHIGEAR Pointer to HIGEAR variable to receive handle.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

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

Is this page helpful?
Yes No
Thanks for your feedback.