TClrImage.LoadFromFile(string,Boolean) Method

Creates an Image from the specified file using embedded color management information in that file.

Namespace: CNClrLib.Control.Graphics
public
 procedure LoadFromFile(const Filename: string; UseEmbeddedColorManagement: Boolean); overload;

Parameters

Filename
Type: string

A string that contains the name of the file from which to create the Image.

UseEmbeddedColorManagement
Type: Boolean

Set to true to use color management information embedded in the image file; otherwise, false.