ImageEn, unit iesettings

TIEGlobalSettings.ThumbnailSize

TIEGlobalSettings.ThumbnailSize


Declaration

property ThumbnailSize: Integer;


Description

Specifies the size of the shortest dimension (width or height) for the embedded thumbnails when saving to IEN format.
Embedded thumbnails are used by TImageEnMView to speed up display.
Set to 0 to disable thumbnail saving.

Note: Rescaling quality is specified by DefaultResampleFilter

Default: 250


Example

// Thumbnails will not be created
IEGlobalSettings().ThumbnailSize := 0;

// Portrait images will have thumbnails of 500 px wide and >500 px high
// Landscape images will have thumbnails of 500 px high and >500 px wide
IEGlobalSettings().ThumbnailSize := 500;


See Also

GetThumbnail