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

RequirementDetail
Runtime.NET 8.0, or any netstandard2.0-compatible target
LicenseMIT — no key required
Runtime dependenciesNone

Add the package

git clone https://github.com/aspose-imaging-foss/Aspose.Imaging-Foss-for-.NET.git
cd Aspose.Imaging-Foss-for-.NET
dotnet build

Namespace 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

See Also