TiffReader.TreatFirstExtraChannelAsAlpha Property

Gets or sets a value indicating whether the reader should interpret the first extra channel as alpha channel in pixel data.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


public bool TreatFirstExtraChannelAsAlpha { get; set; }

Property Value

true if the reader interprets the first extra channel as alpha; otherwise, false. The default value is true.


For example, assume you read an image contained three color channels (RGB) and two extra ones. If this property is true, the image loaded from frame using GetBitmap() method will be interpreted as ARGB (RGB + alpha). ExtraChannels collection will contain one extra channel in this case. Otherwise, if the TreatFirstExtraChannelAsAlpha property is false, it will be interpreted as RGB with two extra channels.

See Also