IccProfile
Ecng.Drawing
What is looked at in an ICC profile before it goes from a picture into the one made of it.
方法
IsRgb
public static bool IsRgb(ReadOnlySpan<byte> profile)
result = IccProfile.IsRgb(profile)
Whether the bytes are a profile for RGB samples no larger than MaxLength. The pictures that are written hold RGB whatever they were read from, so a profile for anything else - CMYK, gray - no longer describes them.
字段
MaxLength
public const int MaxLength
value = IccProfile.MaxLength
The largest profile that is carried over.