---
title: "PixelFormat Methods "
canonical: https://www.graphicsmill.com/docs/gm/Methods_T_Aurigma_GraphicsMill_PixelFormat.htm
product: "Graphics Mill"
---

# PixelFormat Methods 
 
The [PixelFormat](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PixelFormat.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm/icons/static.gif) |  [AddAlpha](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_PixelFormat_AddAlpha_1_3e209c07.htm.md) |  Adds an alpha channel to the specified pixel format. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm/icons/static.gif) |  [ConvertToExtended](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_PixelFormat_ConvertToExtended_1_3e209c07.htm.md) |  Convertes the specified pixel format to an extended one. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm/icons/static.gif) |  [ConvertToSimple](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_PixelFormat_ConvertToSimple_1_3e209c07.htm.md) |  Converts the specified pixel format in non-extended one. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm/icons/static.gif) |  [DiscardAlpha](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_PixelFormat_DiscardAlpha_1_3e209c07.htm.md) |  Removes an alpha channel from the specified pixel format. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [Equals](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_PixelFormat_Equals_1_d02429b3.htm.md) |  Determines whether the specified object is equal to the current [PixelFormat](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PixelFormat.htm.md).<br> (Overrides Object.Equals(Object).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm/icons/protmethod.gif) |  Finalize |  (Inherited from Object.) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [GetHashCode](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_PixelFormat_GetHashCode.htm.md) |  Returns a hash code of this [PixelFormat](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PixelFormat.htm.md).<br> (Overrides Object.GetHashCode().) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  GetType |  (Inherited from Object.) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm/icons/protmethod.gif) |  MemberwiseClone |  (Inherited from Object.) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [ToString](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_PixelFormat_ToString.htm.md) |  Returns a string that represents the current [PixelFormat](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PixelFormat.htm.md).<br> (Overrides Object.ToString().) |
   
## See Also

### Reference

- [PixelFormat Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PixelFormat.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
