ImageGear Professional DLL v18.1 for Windows
IG_load_thumbnail
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Load Functions > IG_load_thumbnail

Glossary Item Box

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 Professional.

Sample:

JPEG

©2014. Accusoft Corporation. All Rights Reserved.