ImageEn, unit imageenproc

IELoadCubeLUTFile


Declaration

procedure IELoadCubeLUTFile(const FileName: string; LUT: TIE3DLutArray);


Description

Loads the content of a 3D Cube file into a Look-up Table.
An exception is raised on failure.

Note:
Only Cube files that have a domain in the region 0.0 to 1.0 are supported
1D Cube files are not supported
You can download Cube files from the internet


Example

// Load cube file
IELoadCubeLUTFile( 'D:\cinematic.cube', LUT );

... Make some changes to LUT ...

// Save cube file
IESaveCubeLUTFile( 'D:\cinematic_EDIT.cube', LUT, '' );


See Also

ApplyCubeLUT
IESaveCubeLUTFile