BitmapFormat Class#
Definition#
Namespace: P1.ImageSdk
Define format of the bitmap memory. See BitmapFormatTypeCode for predefined bitmap format. More…
public class BitmapFormat
Remarks#
Define format of the bitmap memory. See BitmapFormatTypeCode for predefined bitmap format.
Constructors#
Create a BitmapFormat with Unknown format code |
|
BitmapFormat(BitDepth bitDepth, PixelLayout pixelLayout, params PixelComponent[] pixelComponents) |
Create a bitmap format with customized info. |
Create BitmapFormat from BitmapFormatTypeCode |
Properties#
Return predefined format code. |
|
Data type of each pixel component. |
|
Memory layout of the data buffer |
|
Content of each channel in a pixel. |
Methods#
Number of bit per channel per pixel. See BitDepth. |
|
Set memory buffer alignment (only take effect with 12-bit BitDepth). |
|
Implicit cast from BitmapFormatTypeCode |
|
Check if two BitmapFormat are identical |
|
Check if two BitmapFormat are different |
|
Implicit cast bitmapFormat code to int |