---
title: "PixelDataFormat class"
url: "https://reference.aspose.com/cad/python-net/aspose.cad/pixeldataformat/"
product: "Aspose.CAD for Python via .NET API References"
---


## PixelDataFormat class

The pixel data format.



The PixelDataFormat type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [rgb_32_bpp](/cad/python-net/aspose.cad/pixeldataformat/rgb_32_bpp) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for 32 bits per pixel with 8 bits for each of the alpha, red, green and blue. |
| [cmyk](/cad/python-net/aspose.cad/pixeldataformat/cmyk) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for 32 bits per pixel with 8 bits for each of the cyan, magenta, yellow and black. |
| [rgb_24_bpp](/cad/python-net/aspose.cad/pixeldataformat/rgb_24_bpp) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for 24 bits per pixel with 8 bits for each of the alpha, red, green and blue, alpha is not defined. |
| [rgb_16_bpp_555](/cad/python-net/aspose.cad/pixeldataformat/rgb_16_bpp_555) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for 16 bits per pixel with 5 bits for each of the red, green and blue, alpha is not defined. |
| [rgb_indexed_8_bpp](/cad/python-net/aspose.cad/pixeldataformat/rgb_indexed_8_bpp) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for indexed 8 bit per color.<br/>The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used.<br/>Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model. |
| [rgb_indexed_4_bpp](/cad/python-net/aspose.cad/pixeldataformat/rgb_indexed_4_bpp) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for indexed 4 bit per color.<br/>The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used.<br/>Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model. |
| [rgb_indexed_2_bpp](/cad/python-net/aspose.cad/pixeldataformat/rgb_indexed_2_bpp) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for indexed 2 bit per color.<br/>The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used.<br/>Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model. |
| [rgb_indexed_1_bpp](/cad/python-net/aspose.cad/pixeldataformat/rgb_indexed_1_bpp) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for indexed 1 bit per color.<br/>The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used.<br/>Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model. |
| [y_cb_cr](/cad/python-net/aspose.cad/pixeldataformat/y_cb_cr) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for 24 bits per pixel with 8 bits for each of the luma, blue-difference and red-difference chroma components. |
| [grayscale](/cad/python-net/aspose.cad/pixeldataformat/grayscale) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for 8 bits per pixel with 8 bits representing grayscale intensity in the 0-255 interval. |
| [ycck](/cad/python-net/aspose.cad/pixeldataformat/ycck) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for 32 bits per pixel with 8 bits for each of the luma, blue-difference, red-difference and black chroma components. |
| [rgba_32_bpp](/cad/python-net/aspose.cad/pixeldataformat/rgba_32_bpp) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for 32 bits per pixel with 8 bits for each of the alpha, red, green and blue. |
| [rgb_24_bpp_png](/cad/python-net/aspose.cad/pixeldataformat/rgb_24_bpp_png) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for 24 bits per pixel with 8 bits for each of the alpha, red, green and blue, alpha is not defined. |
| [grayscale_alpha](/cad/python-net/aspose.cad/pixeldataformat/grayscale_alpha) | Gets the [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat) defined for 16 bits per pixel with 8 bits representing grayscale intensity in the 0-255 interval and additional 8 bit alpha component. |
| [pixel_format](/cad/python-net/aspose.cad/pixeldataformat/pixel_format) | Gets the pixel format. |
| [bits_per_pixel](/cad/python-net/aspose.cad/pixeldataformat/bits_per_pixel) | Gets the bits per pixel. |
| [channels_count](/cad/python-net/aspose.cad/pixeldataformat/channels_count) | Gets the channels count. |
| [channel_bits](/cad/python-net/aspose.cad/pixeldataformat/channel_bits) | Gets the bits count for each channel. |



### See Also
* module [`aspose.cad`](..)
* class [`PixelDataFormat`](/cad/python-net/aspose.cad/pixeldataformat)
