XImage
Overview
XImage is a class in Aspose.PDF FOSS for C++.
XImage exposes the pixel dimensions of an image via Width() and Height() methods.
This class provides 7 methods for working with XImage objects in C++ programs.
Available methods include: ContainsTransparency, GetRawImageData, Height, ImageMask, Name, Width.
All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
Width() → int | Calls Width on this XImage instance. |
Height() → int | Calls Height on this XImage instance. |
Name() → std::string | Calls Name on this XImage instance. |
Name(value: std::string) | Calls Name(value) on this XImage instance. |
ContainsTransparency() → bool | Calls ContainsTransparency on this XImage instance. |
ImageMask() → bool | Calls ImageMask on this XImage instance. |
GetRawImageData() → std::vector<std::byte> | Returns the raw image data. |