Aspose.Imaging 22.12.1

dotnet add package Aspose.Imaging --version 22.12.1
NuGet\Install-Package Aspose.Imaging -Version 22.12.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Imaging" Version="22.12.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Imaging --version 22.12.1
#r "nuget: Aspose.Imaging, 22.12.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Imaging as a Cake Addin
#addin nuget:?package=Aspose.Imaging&version=22.12.1

// Install Aspose.Imaging as a Cake Tool
#tool nuget:?package=Aspose.Imaging&version=22.12.1

.NET API for Image Processing (MVP with plug-in license support)

Version 22.12.1 Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

It is a standalone Imaging API consists of C# routines that enable your .NET applications to draw as well as perform basic to advanced level processing of raster & vector images.

Aspose.Imaging for .NET offers robust image compression and high processing speed through native byte access and a range of efficient algorithms. It not only manipulate, export, and convert images but also lets you dynamically draw objects using pixel manipulation and Graphics Path.

Imaging API Features

  • Draw raster images with graphics.
  • Draw vector images.
  • Converting images to various formats.
  • Apply masking as well as Median & Wiener filters.
  • Crop, rotate & resize images via API.
  • De-skew & transform images.
  • Set image properties.

Read & Write Image Formats

Raster Formats: JPEG2000, JPEG, BMP, TIFF, GIF, PNG, APNG
Medical Imaging: DICOM
Metafiles: EMF, WMF, EMZ, WMZ
Truevision: TGA
Vector Graphics: SVG, SVGZ

Save Images As

Fixed: PDF
Photoshop: PSD
Web: HTML5 Canvas

Read Image Formats

eBook: DjVu
Digital Camera Raw: DNG
OpenOffice: ODG, OTG
Bitmap: DIB
Web Image: WebP
CorelDRAW: CDR (X6, X7), CMX (V2.0 32-bit)
PostScript: EPS

Platform Independence

Aspose.Imaging for .NET can be used to develop applications on Windows Desktop (x86, x64), Windows Server (x86, x64), Windows Azure, Windows Embedded (CE 6.0 R2), as well as Linux x64. The supported platforms include .NET Framework version 2.0 or higher, and .NET Standard 2.0, .NET Core 3.1, NET5 and higher.

Plugin licenses are supported only for .NET Standard 2.0, .NET Core 3.1, NET5 and higher.

Plugin license support

Do not need full API ? Plugin licenses allow you to get access to specific features.

Following features are includes in this MVP :

Aspose.Imaging Conversion feature

Allows converson between supported image formats

See conversion landing pages for more details and examples.

Live demo

Aspose.Imaging Image merge feature

Allows to merge of several images into one.

See image merge landing pages for more details and examples.

Live demo

Aspose.Imaging Image Image Album feature

Allows to merge of several images into image album in the tiff, dicom, pdf formats.

See image merge landing pages for more details and examples.

Live demo

Aspose.Imaging Resize for .NET

Allows to resize the image, making downsampling or upsampling.

See image resize landing pages for more details and examples.

Live demo

Aspose.Imaging Crop for .NET

Allows to crop the image selecting the rectangular part.

See image crop landing pages for more details and examples.

Live demo

Following features coming soon :

Aspose.Imaging Rotate-Flip for .NET

Allows to flip or rotate the image.

See documentation for more details and examples.

Live demo

Aspose.Imaging Deskew for .NET

Allows to deskew the image, correcting after scan defects.

See documentation for more details and examples.

Live demo

Aspose.Imaging Image Effect for .NET

Allows to appply various effects and filters to the image.

They are :

Grayscale examples

Dither examples

Binarize examples

Adjust examples

Image filters (gaussian and others) examples

Live demo

Aspose.Imaging Animation for .NET

Allows to create animation (gif, apng, webp) from the images.

See documentation for more details and examples.

Live demo

Aspose.Imaging Compress for .NET

Allows to compress the images, preserving the quality.

See compress landing pages for more details and examples.

Live demo

FAQ

Is it possible to use several plug-in licenses ?

Yes, it's possible and you may apply plug-in licenses incrementally combining required by you features.

What happens, if I use API entries, which are not licensed under purchased plug-in license ?

The library will work in the trial mode.

How may I know, which API entries are suitable for my plug-in license ?

Please learn the examples.

You may order available plug-in licenses here

Getting Started with Aspose.Imaging for .NET

Are you ready to give Aspose.Imaging for .NET a try? Simply execute Install-Package Aspose.Imaging from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Imaging for .NET and want to upgrade the version, please execute Update-Package Aspose.Imaging to get the latest version.

Resize a JPG Image via C# Code

Execute the below code snippet to see how Aspose.Imaging performs in your environment or please visit the GitHub Repository for other common usage scenarios.

using (Image image = Image.Load(dir + "template.jpg"))
{
    image.Resize(300, 300);
    image.Save(dir + "output.jpg");
}

Recover a Broken TIFF using C# Code

You can programmatically recover a damaged TIFF file with the help of Aspose.Imaging for .NET API as demonstrated below.

// create an instance of LoadOptions and set LoadOptions properties
var loadOptions = new LoadOptions();
loadOptions.DataRecoveryMode = DataRecoveryMode.ConsistentRecover;
loadOptions.DataBackgroundColor = Color.Red;

// create an instance of Image and load a damaged image by passing the instance of LoadOptions
using (var image = Image.Load(dir + "template.tiff", loadOptions))
{
    // do processing
}

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net35-client is compatible.  net40 is compatible.  net40-client is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
22.12.1 3 12/21/2022
2.9.0 649 4/22/2015
2.8.0 349 3/2/2015
2.7.1 259 12/31/2014
2.6.0 826 9/19/2014
2.5.0 361 7/22/2014
2.4.0 267 5/8/2014
2.3.1 174 4/3/2014
2.3.0.1 74 3/31/2014
2.3.0 74 3/20/2014
2.2.0 115 12/30/2013
2.1.0 2,112 11/7/2013
2.0.0 77 9/24/2013
1.9.0 103 7/22/2013
1.8.0 74 5/28/2013
1.7.0 114 8/29/2012
1.6.0 75 7/17/2012
1.5.0 72 5/9/2012
1.4.0 74 3/7/2012
1.3.0.1 71 2/16/2012
1.3.0 74 1/24/2012