ImageEn, unit iexBitmaps

TIOParams.GetThumbnail

TIOParams.GetThumbnail


Declaration

property GetThumbnail: Boolean;


Description

Specifies that the thumbnail for an image will be loaded instead of the full image. A thumbnail is often available for images returned by digital cameras (EXIF Thumbnail). It applies to JPEG, RAW, IEN, PSD files, and also images loaded using TIEWICReader.
If enabled, and the file does not contain a thumbnail then the next best option will be used instead (e.g. loading an embedded preview image or failing that, the full image).

The property sets:
JPEG_GetExifThumbnail
RAW_GetExifThumbnail
IEN_GetThumbnail

Default: False

Note:
Must be set before loading an image
To load EXIF thumbnails in TImageEnMView, use EnableLoadEXIFThumbnails


Demo

Demo  Demos\InputOutput\IEViewPerformance\Performance.dpr


Example

// Load only the thumbnail of our image (if it has one)
ImageEnView1.IO.Params.GetThumbnail := true;
ImageEnView1.IO.LoadFromFile('C:\Input.jpg');


See Also

OptimizeLoadingParams