Installation
Installation
Aspose.PSD FOSS for .NET is a pure managed .NET package with no other third-party dependencies.
Prerequisites
| Requirement | Detail |
|---|---|
| .NET SDK | .NET 10.0 or later |
| Operating system | Any OS supported by the .NET 10.0 runtime |
| Dependencies | None — pure managed code, no third-party packages |
- 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- 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.