ColorManagement
These samples demonstrate working with color profiles and color spaces, including converting between CMYK, RGB, LAB, and Grayscale with and without color management. They cover assigning and retaining embedded ICC profiles, proofing with destination and target device profiles, and reading profile metadata without decoding full images. Channel operations such as adding, removing, splitting, and combining alpha and color channels are included, along with spot colors and extra channel handling.
Channels
Inspecting and manipulating per-channel data (RGB, CMYK, alpha, and spot channels).
CMYK/Grayscale to RGB
Converting CMYK and grayscale images to RGB using specified ICC profiles.
Color Management Engines
Selecting and configuring different color management engines for conversions and proofing.
Color Profile
Loading, assigning, embedding, and querying ICC color profiles.
Converting Color Values
Transforming color values between RGB, CMYK, Lab, and XYZ using ICC transforms.
Converting Pixel Formats
Converting bitmap pixel formats, bit depths, and channel orders efficiently.
Lab Color Space
Working with CIE Lab values and converting to and from other color models.
RGB to CMYK
Converting RGB images to CMYK with black generation and total ink limit control.
For AI-assisted development: Download Graphics Mill Code Samples XML Catalog