ImageEn, unit iexBitmaps

TIOParams.RAW_EmbeddedJpegLoading

TIOParams.RAW_EmbeddedJpegLoading


Declaration

property RAW_EmbeddedJpegLoading: TIERAWEmbeddedJpegLoading;


Description

Specifies the method that is used to load the embedded JPEG when RAW_GetEmbeddedJpeg = True.
Value Description
ierlDefault The embedded JPEG is loaded at the default size
ierlScaled Loading of the embedded JPEG is speeded up only loading a scaled version of the image (as with JPEG_Scale. The image is guaranteed to be no smaller than RAW_EmbeddedJpegMinWidth x RAW_EmbeddedJpegMinHeight
ierlWIC Uses the TIEWICReader to load the JPEG at its default size

Generally ierlScaled will give the best performance.

Default: ierlDefault (Specified by IOParamDefaults)


Demo

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


Raw Loading Speed

ImageEn offers four properties to improve loading speed for RAW images:
- RAW_GetExifThumbnail
- RAW_GetEmbeddedJpeg
- 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_EmbeddedJpegMinWidth
- RAW_EmbeddedJpegMinHeight