Class PixelDataFormat
Contents
[
Hide
]PixelDataFormat class
The pixel data format. This is an immutable object.
public class PixelDataFormat
Properties
Name | Description |
---|---|
static Cmyk { get; } | Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the cyan, magenta, yellow and black. |
static Cmyka { get; } | Gets the acmyk. |
static Grayscale { get; } | Gets the PixelDataFormat defined for 8 bits per pixel with 8 bits representing grayscale intensity in the 0-255 interval. |
static GrayscaleAlpha { get; } | Gets the PixelDataFormat defined for 16 bits per pixel with 8 bits representing grayscale intensity in the 0-255 interval and additional 8 bit alpha component. |
static Rgb16Bpp555 { get; } | Gets the PixelDataFormat defined for 16 bits per pixel with 5 bits for each of the red, green and blue, alpha is not defined. |
static Rgb16Bpp565 { get; } | Gets the PixelDataFormat defined for 16 bits per pixel with 5 bits for red, 6 bits for green and 5 bits for blue, alpha is not defined. |
static Rgb24Bpp { get; } | Gets the PixelDataFormat defined for 24 bits per pixel with 8 bits for each of the alpha, red, green and blue, alpha is not defined. |
static Rgb24BppPng { get; } | Gets the PixelDataFormat defined for 24 bits per pixel with 8 bits for each of the alpha, red, green and blue, alpha is not defined. |
static Rgb32Bpp { get; } | Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the alpha, red, green and blue. |
static Rgba32Bpp { get; } | Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the alpha, red, green and blue. |
static Rgba64Bpp { get; } | Gets the PixelDataFormat defined for 64 bits per pixel with 16 bits for each of the alpha, red, green and blue. |
static RgbIndexed1Bpp { get; } | Gets the PixelDataFormat defined for indexed 1 bit per color. The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used. Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model. |
static RgbIndexed2Bpp { get; } | Gets the PixelDataFormat defined for indexed 2 bit per color. The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used. Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model. |
static RgbIndexed4Bpp { get; } | Gets the PixelDataFormat defined for indexed 4 bit per color. The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used. Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model. |
static RgbIndexed8Bpp { get; } | Gets the PixelDataFormat defined for indexed 8 bit per color. The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used. Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model. |
static YCbCr { get; } | Gets the PixelDataFormat defined for 24 bits per pixel with 8 bits for each of the luma, blue-difference and red-difference chroma components. |
static Ycck { get; } | Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the luma, blue-difference, red-difference and black chroma components. |
BitsPerPixel { get; } | Gets the bits per pixel. |
Caption { get; } | Gets the pixel data format caption. |
ChannelBits { get; } | Gets the bits count for each channel. |
ChannelsCount { get; } | Gets the channels count. |
PixelFormat { get; } | Gets the pixel format. |
Methods
Name | Description |
---|---|
static GetBgr(int) | Gets BGR color with a specified number of bits per sample. |
static GetBgra(int) | Gets BGRA color with a specified number of bits per sample. |
static GetCieLab(int, int, int) | Gets CIE Lab color with a specified number of bits per sample. |
static GetCmyk(int) | Gets CMYK color with a specified number of bits per sample. |
static GetCmyk(int, int, int, int) | Gets CMYK color with a specified number of bits per sample. |
static GetCmyka(int, int, int, int, int) | Gets CMYKA color with a specified number of bits per sample. |
static GetGrayscale(int) | Gets Grayscale color with a specified number of bits per sample. |
static GetGrayscaleAlpha(int) | Gets GrayscaleAlpha color with a specified number of bits per sample. |
static GetGrayscaleAlpha(int, int) | Gets GrayscaleAlpha color with a specified number of bits per sample. |
static GetRgb(int) | Gets RGB color with a specified number of bits per sample. |
static GetRgb(int, int, int) | Gets RGB color with a specified number of bits per sample. |
static GetRgba(int) | Gets RGBA color with a specified number of bits per sample. |
static GetRgba(int, int, int, int) | Gets RGBA color with a specified number of bits per sample. |
static GetRgbIndexed(int) | Gets BGRA indexed color with a specified number of bits per sample. |
static GetYCbCr(int) | Gets YCbCr color with a specified number of bits per sample. |
static GetYCbCr(int, int, int) | Gets YCbCr color with a specified number of bits per sample. |
static GetYcck(int) | Gets YCCK color with a specified number of bits per sample. |
override Equals(object) | Determines whether the specified Object is equal to this instance. |
override GetHashCode() | Returns a hash code for this instance. |
override ToString() | Returns a String that represents this instance. |
operator == | Returns result of equality for two PixelDataFormat classes. |
operator != | Returns result of non-equality for two PixelDataFormat classes. |
See Also
- namespace Aspose.PSD
- assembly Aspose.PSD