ImageEn, unit iesettings

TIEGlobalSettings.CameraRawEngine

TIEGlobalSettings.CameraRawEngine


Declaration

property CameraRawEngine: TIEImagingEngine;


Description

Specifies which engine is used to load Camera Raw images.
Property Description 32bit Requirement 64bit Requirement
ieenAuto Automatically chooses either ieenDLL if a DLL is found in the EXE folder, otherwise ieenWIC - -
ieenNative Unsupported for Camera Raw format N/A N/A
ieenDLL Uses an ImageEn DLL to support the file format. This option gives the best performance and functionality ielib32.dll or ievision.dll ielib64.dll or ievision64.dll
ieenWIC Uses the WIC API (Windows Imaging Component). Not all Camera Raw formats are supported Always Supported Always Supported
ieenLegacy Uses the Legacy DCRAW engine ielib32.dll or ievision.dll ielib64.dll or ievision64.dll
ieenNone Format is unavailable - -

Note:
ieenDLL and ieenLegacy require you to ship the IELib or IEVision DLL with your application
ieenWIC does not support many Camera RAW formats (about 60%). ieenDLL supports almost all RAW formats.
With ieenAuto, only the EXE folder is searched for relevant DLLs. For ieenDLL, the system path is also checked (or specify a path by calling RegisterPlugins)
You can get the active engine using ActiveCameraRawEngine, and the status of all imaging engines using ImageEnVersion.Status

Default: ieenAuto (which uses ieenDLL if a DLL is available, otherwise ieenWIC)


Engine Performance




Demos

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


Examples

// Enable use of Legacy DCRaw decoder
IEGlobalSettings().CameraRawEngine := ieenLegacy;

// Force use of IELib DLL for improved performance
// ImageEn will attempt to load the DLL even if it's not in the EXE folder. If the DLL is not found or is outdated, an error will be raised
IEGlobalSettings().JPEGEngine      := ieenDLL;
IEGlobalSettings().PNGEngine       := ieenDLL;
IEGlobalSettings().JPEG2000Engine  := ieenDLL;
IEGlobalSettings().CameraRawEngine := ieenDLL;


See Also

ActiveCameraRawEngine
ImageEnVersion.IELibVersionStr