PixelDataFormat Class

The pixel data format.
Inheritance Hierarchy
SystemObject
  Aspose.CADPixelDataFormat

Namespace:  Aspose.CAD
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 20.9
Syntax
public class PixelDataFormat

The PixelDataFormat type exposes the following members.

Properties
  NameDescription
Public propertyBitsPerPixel
Gets the bits per pixel.
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 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 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 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
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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