PixelFormat.cs 919 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // created on 20.02.2002 at 21:18
  2. //
  3. // Image.cs
  4. //
  5. // (C) 2002 Ximian, Inc. http://www.ximian.com
  6. // Author: Christian Meyer
  7. // eMail: [email protected]
  8. // Dennis Hayes
  9. // [email protected]
  10. //
  11. //
  12. namespace System.Drawing.Imaging {
  13. [Serializable]
  14. public enum PixelFormat {
  15. Alpha = 262144,
  16. Canonical = 2097152,
  17. DontCare = 0,
  18. Extended = 1048576,
  19. Format16bppArgb1555 = 397319,
  20. Format16bppGrayScale = 1052676,
  21. Format16bppRgb555 = 135173,
  22. Format16bppRgb565 = 135174,
  23. Format1bppIndexed = 196865,
  24. Format24bppRgb = 137224,
  25. Format32bppArgb = 2498570,
  26. Format32bppPArgb = 925707,
  27. Format32bppRgb = 139273,
  28. Format48bppRgb = 1060876,
  29. Format4bppIndexed = 197634,
  30. Format64bppArgb = 3424269,
  31. Format64bppPArgb = 1851406,
  32. Format8bppIndexed = 198659,
  33. Gdi = 131072,
  34. Indexed = 65536,
  35. Max = 15,
  36. PAlpha = 524288,
  37. Undefined = 0 //shows up in enumcheck as second "dontcare".
  38. }
  39. }