PixelFormatUtilities Methods |
The PixelFormatUtilities type exposes the following members.
Name | Description | |
---|---|---|
BitsPerChannel | Returns the number of bits in each channel of this image. | |
BitsPerPixel | Returns the number of bits used per pixel in total. | |
ChannelsPerPixel | Returns the number of channels in this pixel format | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasAlpha | Returns true if the pixel format contains an alpha channel | |
ImageSize | Given a pixel format, ImageSize will return the number of bytes necessary to represent that image.
| |
IsColor | Indicates whether or not a pixel format represents a color image | |
IsColorMapped | Indicated whether or not the pixel format represents a color mapped format | |
IsContinuous | Indicates whether or not the pixel format represents a continuous pixel format | |
IsGray | Indicates whether or not the pixel format represents a gray image. | |
IsMultiByte | Indicates whether or not any channel in this image requires multiple bytes. | |
IsRGBColor | ||
IsValid(PixelFormat) | ||
IsValid(Int32) | ||
RowStride(Int32, Int32) | Calculates the width in bytes of a row in an image. | |
RowStride(PixelFormat, Int32) | Calculates the width in bytes of a row in an image. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |