QPx_GetImageFileEmbeddedThumb(imagePath; imagePath):error
imagePath Text Full path to image file
thumbPict Picture Embedded thumbnail
error Longint Error result

Get the thumbnail enbedded in an image file

Image formats that support embedded thumbnails are: Exif JPEG, TIFF, FlashPix, and PhotoCD.

The image file is specified by imagePath. If imagePath is empty, QPix presents a file selection dialog where the user can preview and select an image file. If the user selects a file, its full pathname is returned in imagePath, otherwise error qpx_userCancelErr is returned.

If an embedded thumbnail exists, it is returned in thumbPict. Otherwise, thumbPict is set to an empty picture.

Related commands

QPx_CreateImageFileThumbnail Create high-quality thumbnail of an image file