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

NameTypeAccessDescription
PixelFormatPixelFormatReadGets the pixel format.

Methods

SignatureDescription
PixelFormat()PixelFormatCalls 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()intCalls Width on this BitmapInfo instance.
Height()intCalls Height on this BitmapInfo instance.
Format()PixelFormatCalls Format on this BitmapInfo instance.

See Also