This documentation is for the old version. Go to the latest Graphics Mill docs

TiffReader.FirstExtraChannelIsAlpha Property

Gets/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)


Visual Basic
Public Property FirstExtraChannelIsAlpha As Boolean
public bool FirstExtraChannelIsAlpha { get; set; }

Property Value

true if the reader interprets the first extra channel as alpha; otherwise, false.


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 Frame.GetBitmap(Bitmap) method will be interpreted as ARGB (RGB + alpha). TiffFrame.ExtraChannels collection will contain one extra channel in this case. Otherwise, if the FirstExtraChannelIsAlpha property is false, it will be interpreted as RGB with two extra channels.

Default value is true.

See Also