Installation
Installation
This page walks through adding Aspose.Imaging FOSS for .NET to a project and
confirming it resolves correctly. It targets net8.0 and netstandard2.0 and has
zero external runtime dependencies.
Prerequisites
| Requirement | Detail |
|---|---|
| Runtime | .NET 8.0, or any netstandard2.0-compatible target |
| License | MIT — no key required |
| Runtime dependencies | None |
Add the package
git clone https://github.com/aspose-imaging-foss/Aspose.Imaging-Foss-for-.NET.git
cd Aspose.Imaging-Foss-for-.NET
dotnet buildNamespace imports
After installation add the following using directive to your source files:
using Aspose.Imaging.Foss;This single namespace exposes the library’s full public surface: ImageProbe,
ImageInfo, and ImageFormat.
Verifying the installation
Probe a sample file and confirm the package resolves correctly:
using Aspose.Imaging.Foss;
var info = ImageProbe.ProbeFile("photo.jpg");
Console.WriteLine($"{info.Format}: {info.Width}x{info.Height}, {info.BitDepth}-bit");If the project builds and prints a format, dimensions, and bit depth, the package is installed correctly.
Next Steps
- Quick Start — detect a format and read header metadata in a few lines
- License — MIT license terms
- Developer Guide — feature-level documentation