Image

Overview

Image is a class in Aspose.Psd FOSS for .NET. Inherits from: IDisposable.

Provides the Aspose.PSD-compatible base image entry point for loading PSD/PSB documents.

This class declares 5 methods for Image objects in .NET programs. Available methods include: Dispose, Load, Save. Public members are accessible to any .NET application after installing the Aspose.Psd FOSS for .NET package. Properties: Bounds, Height, Width.

Properties

NameTypeAccessDescription
WidthintReadGets the image width in pixels.
HeightintReadGets the image height in pixels.
BoundsRectangleReadGets the image bounds.

Methods

SignatureDescription
Load(filePath: string)Loads a new image from the specified file path.
Load(stream: Stream)Loads a new image from the specified stream.
Save(filePath: string)Saves the image data to the specified file path.
Save(stream: Stream)Saves the image data to the specified stream.
Dispose()Releases resources used by the image.

See Also