Image
Overview
Image is a class in Aspose.Slides FOSS for C++.
Represents a raster or vector image backed by in-memory data.
Methods
| Signature | Description |
|---|---|
size() → Drawing::Size | Gets the size of the image in pixels. |
width() → int | Gets the width of the image in pixels. |
height() → int | Gets the height of the image in pixels. |
save(filename: std::string_view) | Saves the image to a file. |
save(stream: std::ostream) | Saves the image to a file. |
data() → std::span<const std::uint8_t> | Returns a read-only view of the raw image data. |