Image

Overview

Image is a class in Aspose.Slides FOSS for C++.

Represents a raster or vector image backed by in-memory data.

Methods

SignatureDescription
size()Drawing::SizeGets the size of the image in pixels.
width()intGets the width of the image in pixels.
height()intGets 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.

See Also