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 the full image will be automatically loaded instead.

The property sets:
- JPEG_GetExifThumbnail
- RAW_GetExifThumbnail
- IEN_GetThumbnail

Default: False

Note: Must be set before loading an image


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