IccProfile class

An ICC profile reduced to what rendering needs: a transform from device components to sRGB.

Coverage: gray TRC profiles, matrix/TRC RGB profiles (v2 and v4, curv and para curves), and LUT profiles via A2B0 (mft1, mft2, and mAB pipelines) with XYZ or Lab PCS — which spans sRGB-like, wide-gamut RGB, and the common CMYK press profiles. Unsupported shapes parse to null and callers fall back to device heuristics. Rendering intents and black-point compensation are not applied.

Properties

channels int
Device channel count (1, 3, or 4).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toSrgb(List<double> values) PdfColor
Converts device values (each 0..1) to sRGB.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parse(Uint8List bytes) IccProfile?