IBitmapDataPixelFormat Property

Gets a PixelFormatInfo of the current IBitmapData instance.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.2.0
C#
PixelFormatInfo PixelFormat { get; }

Property Value

PixelFormatInfo

Remarks

The value of this property determines how the raw underlying values should be interpreted if the pixels are accessed by the ReadRaw or WriteRaw methods. Otherwise, in most cases using the members of the interfaces derived from the IBitmapData and IBitmapDataRow interfaces work seamlessly.

If this property returns an indexed format (see Indexed), then the Palette property returns a non- value.

See Also