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

NameTypeAccessDescription
WidthintReadGets the image width in pixels.
HeightintReadGets the image height in pixels.
PixelBytesbyte[]ReadGets the pixel bytes.
FormatPixelFormatReadGets the format.

Methods

SignatureDescription
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.

See Also

 English