Image

Overview

Image is a class in Aspose.Slides FOSS for .NET. Inherits from: IImage, IDisposable.

Concrete image wrapper holding raw bytes and metadata.

This class provides 6 methods for working with Image objects in .NET programs. Available methods include: Dispose, Save. All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: Height, Size, Width.

Properties

NameTypeAccessDescription
SizeSizeReadGets the size.
WidthintReadGets the width.
HeightintReadGets the height.

Methods

SignatureDescription
Save(filename: string)Writes the image to a Stream using the given format and quality level
Save(filename: string, format: string)Calls Save(filename, format) on this Image instance.
Save(stream: Stream, format: string)Calls Save(stream, format) on this Image instance.
Save(filename: string, format: string, quality: int)Calls Save(filename, format, quality) on this Image instance.
Save(stream: Stream, format: string, quality: int)Calls Save(stream, format, quality) on this Image instance.
Dispose()Releases resources held by this image.

See Also