Expand description
See Little CMS full documentation for more in-depth information about LCMS functions.
The main types you need to use in this crate are Profile and Transform
Structs§
- CIECA
M02 - CIE CAM02
- CIELab
- CIEXYZ
- CIExyY
- Part of
CIExyYTRIPLE - CIExyYTRIPLE
- For
Profile::new_rgb - Flags
- Flags for creating
Transform. Can be OR-ed together with|. - Locale
- Language code from ISO-639/2 and region code from ISO-3166.
- MLU
- This represents owned Multi Localized Unicode type. Most methods are implemented on
MLURef. This is a borrwed Multi Localized Unicode type. It holds Unicode strings associated withLocale. - MLURef
- A borrowed reference to a
MLU. - Named
Color Info - Color in the palette
- Named
Color List - Palette of colors with names
- Named
Color List Ref - A borrowed reference to a
NamedColorList. - Pipeline
Ref - A borrowed reference to a
Pipeline. - Pixel
Format - Format of pixel is defined by one u32, using bit fields as follows
- Profile
- An ICC color profile
- Stage
- Stage functions
- Stage
Ref - A borrowed reference to a
Stage. - Stages
Iter - Thread
Context - Per-thread context for multi-threaded operation.
- Tone
Curve - Tone curves are powerful constructs that can contain curves specified in diverse ways.
- Tone
Curve Ref - A borrowed reference to a
ToneCurve. - Transform
- Conversion between two ICC profiles.
- Video
Signal Type - Viewing
Conditions
Enums§
- Color
Space Signature - Error
- Info
Type - Intent
- Profile
Class Signature - Tag
- Value of a tag in an ICC profile
- TagSignature
Traits§
- CIELab
Ext - Delta E
- CIEXYZ
Ext - Chromatic adaptation
- CIExzY
Ext - White point
- Cache
Flag - Used by
Flagsto keep track whetherFlags::NO_CACHEhas been used, which enables thread-safe sharing ofTransforms. - Color
Space Signature Ext - Pod
Transformrequires pixel types to implement these traits.- Zeroable
Transformrequires pixel types to implement these traits.
Functions§
- XYZ2xyY
- version
- LCMS version
- white_
point_ from_ temp - Temperature <-> Chromaticity (Black body) Color temperature is a characteristic of visible light that has important applications.
- xyY2XYZ
Type Aliases§
- LCMS
Result - This is a regular
Resulttype with LCMS-specificError