---
title: "PixelFormatUtils Methods "
canonical: https://www.graphicsmill.com/docs/gm5/Methods_T_Aurigma_GraphicsMill_PixelFormatUtils.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# PixelFormatUtils Methods 
 
The [PixelFormatUtils](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormatUtils.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [AlphaChannelIndex](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_AlphaChannelIndex_1_3e209c07.htm.md) |  Returns an index of the alpha channel for the specified pixel format. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [BitsPerPixel](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_BitsPerPixel_1_3e209c07.htm.md) |  Returns number of bits per pixel for specified pixel format. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [ChannelCount](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_ChannelCount_1_3e209c07.htm.md) |  Returns number of channels (including alpha channel) supported by specified pixel format. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [ChannelCountWithoutAlpha](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_ChannelCountWithoutAlpha_1_3e209c07.htm.md) |  Returns number of color channels (i.e. excluding alpha channel) supported by specified pixel format. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [ColorSpace](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_ColorSpace_1_3e209c07.htm.md) |  Returns color space of the specified pixel format. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Equals](http://msdn2.microsoft.com/en-us/bsc2ak47) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [Finalize](http://msdn2.microsoft.com/en-us/4k87zsw7) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetHashCode](http://msdn2.microsoft.com/en-us/zdee4b3y) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetType](http://msdn2.microsoft.com/en-us/dfwy45w9) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [HasAlpha](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_HasAlpha_1_3e209c07.htm.md) |  Returns value that specifies whether pixel format supports alpha channel. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [IsCmyk](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_IsCmyk_1_3e209c07.htm.md) |  Returns value that specifies whether pixel format belongs CMYK color space. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [IsExtended](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_IsExtended_1_3e209c07.htm.md) |  Returns value that specifies whether pixel format is extended (16 bits per channel). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [IsGrayScale](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_IsGrayScale_1_3e209c07.htm.md) |  Returns value that specifies whether pixel format is grayscale. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [IsIndexed](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_IsIndexed_1_3e209c07.htm.md) |  Returns value that specifies whether bitmap with this pixel format is indexed. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [IsRgb](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_IsRgb_1_3e209c07.htm.md) |  Returns value that specifies whether pixel format belongs RGB color space. |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [MemberwiseClone](http://msdn2.microsoft.com/en-us/57ctke0a) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToString](http://msdn2.microsoft.com/en-us/7bxwbwt2) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
   
## See Also

### Reference

- [PixelFormatUtils Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormatUtils.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
