ImageEn, unit iexBitmaps

TIOParams.RAW_EmbeddedJpegMinHeight

TIOParams.RAW_EmbeddedJpegMinHeight


Declaration

property RAW_EmbeddedJpegMinHeight: Integer;


Description

Guarantees a minimum height of the image if RAW_GetEmbeddedJpeg = true. If the file does not contain an embedded JPEG of this size, the full size raw image will be loaded.
It is also used to speed up loading, by loading a scaled version of the image (e.g. 1/4 or 1/2 size) if RAW_EmbeddedJpegLoading = ierlScaled.

It is also used to load a preview image when using TIEWICReader (if one is available)

Default: 800 (Specified by IOParamDefaults)


Demo

Demo  Demos\InputOutput\CameraRaw\CameraRaw.dpr
Demo  Demos\InputOutput\IEViewPerformance\Performance.dpr


Raw Loading Speed

ImageEn offers three properties to improve loading speed for RAW images:
- RAW_GetExifThumbnail
- RAW_EmbeddedJpegLoading
- RAW_HalfSize


Example

// Fastest loading of a RAW image at no smaller than 800x600
ImageEnView1.IO.Params.RAW_GetEmbeddedJpeg := True;
ImageEnView1.IO.Params.RAW_EmbeddedJpegMinWidth := 800;
ImageEnView1.IO.Params.RAW_EmbeddedJpegMinHeight := 600;
ImageEnView1.IO.Params.RAW_EmbeddedJpegLoading := ierlScaled;
ImageEnView1.IO.LoadFromFile('C:\CRW_0001.CRW');


See Also

- OptimizeLoadingParams
- RAW_EmbeddedJpegLoading
- RAW_EmbeddedJpegMinWidth