TiffOptions.ColorMap

TiffOptions.ColorMap property

Gets or sets the color map.

public ushort[] ColorMap { get; set; }

Property Value

The color map.

Exceptions

exceptioncondition
ArgumentNullExceptionvalue
TiffImageExceptionThe color map may be defined for samples per pixel equal to 1 only. or The bits per sample are not defined.
ArgumentOutOfRangeExceptionvalue;The array length must correspond to the followign formula: 3 * (2**BitsPerSample).

See Also