QPix Command Reference
Image Files
|
|
| QPx_GetImageFileEmbeddedThumb(imagePath; thumbPict):error | |||
|
|
imagePath | Text | Full path to image file |
|
|
thumbPict | Picture | Embedded thumbnail |
|
|
error | Longint | Error result |
Reads the embedded thumbnail from 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 the image contains an embedded thumbnail, it is returned in thumbPict. Otherwise, thumbPict is set to an empty picture.
Related commands
| QPx_CreateImageFileThumbnail | Creates a high quality thumbnail from an image file |