ImageEn, unit iexBitmaps

TIOParams.RAW_HalfSize

TIOParams.RAW_HalfSize


Declaration

property RAW_HalfSize: Boolean;


Description

Set to True before loading to retrieve only a half-size image of a Raw image. This will speed up loading.

Default: False (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_GetEmbeddedJpeg
- RAW_HalfSize

Example usage:

// Load the full size RAW
ImageEnView.IO.Params.RAW_GetExifThumbnail := False;
ImageEnView.IO.Params.RAW_GetEmbeddedJpeg := False;
ImageEnView.IO.Params.RAW_HalfSize := False;

// Load the half size RAW
ImageEnView.IO.Params.RAW_GetExifThumbnail := False;
ImageEnView.IO.Params.RAW_GetEmbeddedJpeg := False;
ImageEnView.IO.Params.RAW_HalfSize := True;

// Load the embedded JPEG (loading a half size raw if there is no embedded JPEG)
ImageEnView.IO.Params.RAW_GetExifThumbnail := False;
ImageEnView.IO.Params.RAW_GetEmbeddedJpeg := True;
ImageEnView.IO.Params.RAW_HalfSize := True;

// Load the thumbnail (will automatically fall back to the embedded JPEG if there is no thumbnail)
ImageEnView.IO.Params.RAW_GetExifThumbnail := True;
ImageEnView.IO.Params.RAW_GetEmbeddedJpeg := False;
ImageEnView.IO.Params.RAW_HalfSize := True; // In case there is no EXIF thumbnail or embedded JPEG



Example

ImageEnView1.IO.Params.RAW_HalfSize := True;
ImageEnView1.IO.LoadFromFile('C:\CRW_0001.CRW');


See Also

- OptimizeLoadingParams
- RAW_EmbeddedJpegLoading