Installation

Installation

Aspose.PSD FOSS for .NET is a pure managed .NET package with no other third-party dependencies.


Prerequisites

RequirementDetail
.NET SDK.NET 10.0 or later
Operating systemAny OS supported by the .NET 10.0 runtime
DependenciesNone — pure managed code, no third-party packages

  1. Install the package.
git clone https://github.com/aspose-psd-foss/Aspose.PSD-FOSS-for-.NET.git
cd Aspose.PSD-FOSS-for-.NET
dotnet build
  1. Verify the install by loading a PSD/PSB file.
using Aspose.PSD.FileFormats.Psd;

using var image = (PsdImage)Image.Load("input.psd");
Console.WriteLine($"Width: {image.Width}, Height: {image.Height}");

If the package installed correctly, this prints the document’s dimensions without error.


Next Steps

See Also