Initializing a Color Conversion Handle

To begin using the LEADTOOLS Color Conversion toolkit, initialize a color conversion handle. To do this, call the L_ClrInit function. Each call to the L_ClrInit function will create a color conversion handle of type L_HANDLE. This handle is passed to many of the LEADTOOLS Color Conversion C API functions, so this function must be called before calling many functions in case of indirect conversion.

Another way to initialize a color conversion handle is by calling L_ClrDlg, which brings up a color space option dialog. Based on the option set in that dialog, a color handle will be returned and/or the option specified in the dialog packed in CONVERSION_PARAMS instance.

To check the validity of the created color conversion handle call the L_ClrIsValid function.

To determine whether an image file has an embedded ICC profile, call the L_HasICCProfile function.

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Color Conversion C API Help