IBitmapDataPixelFormat Property

Gets a PixelFormatInfo of the current IBitmapData instance.


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

Property Value



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