PixelDataFormat Class
The pixel data format. This is an immutable object.
Inheritance Hierarchy
SystemObject
  Aspose.PSDPixelDataFormat

Namespace: Aspose.PSD
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntax
public class PixelDataFormat

The PixelDataFormat type exposes the following members.

Properties
  NameDescription
Public propertyBitsPerPixel
Gets the bits per pixel.
Public propertyCaption
Gets the pixel data format caption.
Public propertyChannelBits
Gets the bits count for each channel.
Public propertyChannelsCount
Gets the channels count.
Public propertyStatic memberCmyk
Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the cyan, magenta, yellow and black.
Public propertyStatic memberCmyka
Gets the acmyk.
Public propertyStatic memberGrayscale
Gets the PixelDataFormat defined for 8 bits per pixel with 8 bits representing grayscale intensity in the 0-255 interval.
Public propertyStatic memberGrayscaleAlpha
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.
Public propertyPixelFormat
Gets the pixel format.
Public propertyStatic memberRgb16Bpp555
Gets the PixelDataFormat defined for 16 bits per pixel with 5 bits for each of the red, green and blue, alpha is not defined.
Public propertyStatic memberRgb16Bpp565
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.
Public propertyStatic memberRgb24Bpp
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.
Public propertyStatic memberRgb24BppPng
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.
Public propertyStatic memberRgb32Bpp
Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the alpha, red, green and blue.
Public propertyStatic memberRgba32Bpp
Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the alpha, red, green and blue.
Public propertyStatic memberRgba64Bpp
Gets the PixelDataFormat defined for 64 bits per pixel with 16 bits for each of the alpha, red, green and blue.
Public propertyStatic memberRgbIndexed1Bpp
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.
Public propertyStatic memberRgbIndexed2Bpp
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.
Public propertyStatic memberRgbIndexed4Bpp
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.
Public propertyStatic memberRgbIndexed8Bpp
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.
Public propertyStatic memberYCbCr
Gets the PixelDataFormat defined for 24 bits per pixel with 8 bits for each of the luma, blue-difference and red-difference chroma components.
Public propertyStatic memberYcck
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.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberGetBgr
Gets BGR color with a specified number of bits per sample.
Public methodStatic memberGetBgra
Gets BGRA color with a specified number of bits per sample.
Public methodStatic memberGetCieLab
Gets CIE Lab color with a specified number of bits per sample.
Public methodStatic memberGetCmyk(Int32)
Gets CMYK color with a specified number of bits per sample.
Public methodStatic memberGetCmyk(Int32, Int32, Int32, Int32)
Gets CMYK color with a specified number of bits per sample.
Public methodStatic memberGetCmyka
Gets CMYKA color with a specified number of bits per sample.
Public methodStatic memberGetGrayscale
Gets Grayscale color with a specified number of bits per sample.
Public methodStatic memberGetGrayscaleAlpha(Int32)
Gets GrayscaleAlpha color with a specified number of bits per sample.
Public methodStatic memberGetGrayscaleAlpha(Int32, Int32)
Gets GrayscaleAlpha color with a specified number of bits per sample.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodStatic memberGetRgb(Int32)
Gets RGB color with a specified number of bits per sample.
Public methodStatic memberGetRgb(Int32, Int32, Int32)
Gets RGB color with a specified number of bits per sample.
Public methodStatic memberGetRgba(Int32)
Gets RGBA color with a specified number of bits per sample.
Public methodStatic memberGetRgba(Int32, Int32, Int32, Int32)
Gets RGBA color with a specified number of bits per sample.
Public methodStatic memberGetRgbIndexed
Gets BGRA indexed color with a specified number of bits per sample.
Public methodGetType (Inherited from Object.)
Public methodStatic memberGetYCbCr(Int32)
Gets YCbCr color with a specified number of bits per sample.
Public methodStatic memberGetYCbCr(Int32, Int32, Int32)
Gets YCbCr color with a specified number of bits per sample.
Public methodStatic memberGetYcck
Gets YCCK color with a specified number of bits per sample.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Operators
  NameDescription
Public operatorStatic memberEquality
Returns result of equality for two PixelDataFormat classes.
Public operatorStatic memberInequality
Returns result of non-equality for two PixelDataFormat classes.
See Also