Skip to content

Instantly share code, notes, and snippets.

@HEskandari
Created October 11, 2011 11:40
Show Gist options
  • Save HEskandari/1277879 to your computer and use it in GitHub Desktop.
Save HEskandari/1277879 to your computer and use it in GitHub Desktop.
PixelFormat enum in GDI+
namespace System.Drawing.Imaging
{
public enum PixelFormat
{
DontCare = 0,
Undefined = 0,
Max = 15,
Indexed = 65536,
Gdi = 131072,
Format16bppRgb555 = 135173,
Format16bppRgb565 = 135174,
Format24bppRgb = 137224,
Format32bppRgb = 139273,
Format1bppIndexed = 196865,
Format4bppIndexed = 197634,
Format8bppIndexed = 198659,
Alpha = 262144,
Format16bppArgb1555 = 397319,
PAlpha = 524288,
Format32bppPArgb = 925707,
Extended = 1048576,
Format16bppGrayScale = 1052676,
Format48bppRgb = 1060876,
Format64bppPArgb = 1851406,
Canonical = 2097152,
Format32bppArgb = 2498570,
Format64bppArgb = 3424269,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment