BitmapInfo
Overview
BitmapInfo is a class in Aspose.PDF FOSS for .NET.
Raw pixel data with its size and pixel layout, used to add an uncompressed bitmap to a page’s image resources.
This class declares 2 methods for BitmapInfo objects in .NET programs.
Available methods include: BitmapInfo.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Format, Height, PixelBytes, Width.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Width | int | Read | Gets the image width in pixels. |
Height | int | Read | Gets the image height in pixels. |
PixelBytes | byte[] | Read | Gets the pixel bytes. |
Format | PixelFormat | Read | Gets the format. |
Methods
| Signature | Description |
|---|---|
BitmapInfo() | Creates an empty bitmap description with no pixels and a size of 0 x 0. |
BitmapInfo(pixelBytes: byte[], width: int, height: int, format: PixelFormat) | Calls BitmapInfo(pixelBytes, width, height, format) on this BitmapInfo instance. |