Xbasic
Helper::ExifInfo.HasThumbnail Method
Syntax
L HasThumbnail()
Description
A thumbnail for the image is stored in the exif data.
Discussion
Determine if a thumbnail exists for image exif image data. If an image exists, the GetThumbnail() can retrieve it.
Example
dim eh as Helper::ExifInfo
? eh.LoadExifData("c:\a5webroot\livePreview\images\a5_igc_image_16.jpg")
= .T.
? eh.HasThumbnail()
= .T.
ui_bitmap_load("thumb",eh.GetThumbnail())
ui_dlg_box("","{image=thumb}")See Also