PixelFormat Enumeration |
Namespace: Atalasoft.Imaging
Member name | Description | |
---|---|---|
Pixel1bppIndexed | One bit per pixel. A two color palette defines the colors associated with bit values of 0 and 1. | |
Pixel4bppIndexed | Four bits per pixel. A 16 color palette defines the colors associated with each pixel. | |
Pixel8bppIndexed | Eight bits per pixel. A palette of up to 256 colors may be used. Can contain alpha palette values. | |
Pixel24bppBgr | Twenty-four bits per pixel with pixel channels containing Blue, Green, and Red values in that order. This is also called an RGB image despite the order of the channels. | |
Pixel32bppBgra | Thirty-two bits per pixel with pixel channels containing Blue, Green, Red, and Alpha values in that order. This is also called an RGBA image despite the order of the channels. | |
Pixel32bppBgr | Thirty-two bits per pixel with pixel channels containing Blue, Green, and Red values in that order. This is also called an RGB image despite the order of the channels. The last channel is unused. | |
Pixel8bppGrayscale | Eight bits per pixel. Each pixel is a shade of gray, from 0 (black) to 255 (white). | |
Pixel16bppGrayscaleAlpha | Sixteen bits per pixel. A standard grayscale palette is used where pal(0)=RGB(0,0,0) up to pal(255)=RGB(255,255,255). The second channel contains an alpha (transparency) value for each pixel. | |
Pixel32bppCmyk | Thirty-Two bits per pixel with pixels containing the colors Cyan, Magenta, Yellow, and Black. This is a subtractive colorspace with 0, 0, 0, 0 corresponding to pure white and 255, 255, 255, 255 corresponding to pure black. | |
Pixel16bppGrayscale | Sixteen bits per component. This format allows for greater detailed grayscale images. Each pixel can have a value from 0 (black) to 65535 (white). | |
Pixel48bppBgr | Fourty-Eight bits per pixel with pixel channels containing Blue, Green and Red. This is a two byte per component image with values ranging from 0 to 65535 for each color component. | |
Pixel64bppBgra | Sixty-Four bits per pixel with pixel channels containing Blue, Green, Red and Alpha values in that order. This is a two byte per component image with values ranging from 0 to 65535 for each color component. |
The pixel format defines the number of bits of memory associated with one pixel of data. The format also defines the order of the color components within a single pixel of data.
Many of the pixel formats are identical to the GDI+ System.Drawing.PixelFormat types. DotImage is compatible with some of the GDI+ formats as well as including a few others not compatible with GDI+.