Click or drag to resize

PixelFormat Enumeration

Format of bytes used in a Bitmap

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public enum PixelFormat
Members
  Member nameValueDescription
Format32bppRgb0 32-bits (4 bytes) per pixel, ordered by an Empty byte in the highest order, followed by Red, Green, and Blue.
Format24bppRgb1 24-bits (3 bytes) per pixel, ordered by Red in the highest order, followed by Green, and Blue.
Format32bppRgba2 32-bits (4 bytes) per pixel, ordered by an Alpha byte in the highest order, followed by Red, Green, and Blue.
Remarks
The format is important when modifying the bytes directly via Lock.
See Also