Introduction

LEADTOOLS Color Conversion Color Space features can convert images from any color resolution to any other color resolution. Whether you are working with medical images, scanned documents or digital photographs, LEADTOOLS can help you provide the correct color depth for the hardware your clients are using, from 1-bit to 64-bit,*** with multiple dithering methods using various palette options. These functions are included with LEADTOOLS Raster, Vector, Medical, and Document Imaging products.

Key Features:

*

Included only in LEADTOOLS Raster Imaging Pro, Document Imaging products and Medical Imaging  products.

**

Included only in Medical Imaging  products.

***

Included only in Document Imaging Products and Medical Imaging  products.

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.

1.Emulation Tables (one way CMYK => RGB)

2.ICC Profiles.

3.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.

 

CMYK

Any other color space.

1.Built in.

2.ICC Profiles

 

LAB

Any other color space.

1. Emulation Tables (one way CMYK => RGB).

2. ICC Profiles.

3. Built in.

For two-way conversion, RGB to LAB and vice versa, the best solution is with emulation tables and Built in conversions, because the colors are preserved better. However for one way 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.

 

Supported Environments

The toolkit comes in Win32 and x64 editions that can support development of software applications for any of the following environments:

Windows Vista

Windows XP

Windows 2000

For more information, refer to:

Programming with LEADTOOLS Color Space Conversion

Tutorials

Demo Programs

Palettes and Manipulating Palettes

Dithering and Supported Dithering Methods

Additional LEADTOOLS Image Processing functionality