LEADTOOLS Color Conversion C API Introduction

Summary

LEADTOOLS Color Conversion C API provides many options to maximize image display quality for any imaging purpose, including medical images, scanned documents or digital photographs.

Key Features:

* 12-bit and 16-bit grayscale support included only in Document and Medical Imaging products.

** LEADTOOLS' window leveling supported only in Medical Imaging products.

Supported Conversions

Source Color Space Can be converted to Conversion method Recommended
RGB Any other color space. Built-in, ICC profiles, or emulation tables, depending on the destination color space.
BGR Any other color space. Built-in, ICC profiles, or emulation tables, depending on the destination color conversion.
YUV Any other color space. Built in.
CMYK Any other color space. Emulation Tables (one way CMYK => RGB)
ICC Profiles.
Built-in.
The best conversion is through the ICC Profiles (USE_ICC). This is because of the nature of the CMYK conversion, which is machine-dependant. You can use profiles that vary in the degree of black color (ink) generation.
HSV Any other color space. Built-in.
HSL Any other color space. Built-in.
YIQ Any other color space. Built-in.
LAB Any other color space. Emulation Tables (one way CMYK => RGB).
ICC Profiles.
Built-in.
For two-way conversion (RGB to LAB and vice versa), the best solution is with emulation tables and built-in conversions. These preserve the colors better. However, for one-way conversion you can use ICC profiles.
XYZ Any other color space. Built-in.
YCCK Any other color space. Built-in.
Y41P Any other color space. Built-in.
UYVY Any other color space. Built-in.
YUY2 Any other color space. Built-in.
YVU9 Any other color space. Built-in.
YCC Any other color space. Built-in.
ARGB4 Any other color space. Built-in.
IHS Any other color space. Built-in.

Supported Environments

See Also

Reference

Version History

LEADTOOLS Color Conversion C API Changes

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

LEADTOOLS Color Conversion C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.