BitmapInfo
Overview
BitmapInfo is a class in Aspose.PDF FOSS for C++.
BitmapInfo enables creation of raw bitmap images with specified pixel format, width, height, and pixel data, supporting image handling without external dependencies.
This class provides 6 methods for working with BitmapInfo objects in C++ programs.
Available methods include: BitmapInfo, Format, Height, PixelBytes, PixelFormat, Width.
All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Accessor methods: PixelFormat.
Accessor Methods
| Name | Type | Access | Description |
|---|---|---|---|
PixelFormat | PixelFormat | Read | Gets the pixel format. |
Methods
| Signature | Description |
|---|---|
PixelFormat() → PixelFormat | Calls PixelFormat on this BitmapInfo instance. |
BitmapInfo(pixelBytes: std::vector<std::uint8_t>, width: int, height: int, format: PixelFormat) | Calls BitmapInfo(pixelBytes, width, height, format) on this BitmapInfo instance. |
PixelBytes() → std::vector<std::uint8_t> | Calls PixelBytes on this BitmapInfo instance. |
Width() → int | Calls Width on this BitmapInfo instance. |
Height() → int | Calls Height on this BitmapInfo instance. |
Format() → PixelFormat | Calls Format on this BitmapInfo instance. |