.NET API for Image Processing

Create, manipulate, draw or convert images without requiring any image editor.

  Download Free Trial
Aspose.Imaging for .NET

Aspose.Imaging for .NET


Aspose. Imaging for.NET is a library offering advanced image processing features. Developers can create, edit or convert images in their own application. Also Aspose. Imaging library supports drawing and work with graphic primitives. Image export and conversion (including uniform multi-page image processing) is the one of API core features along with image transformations (resize, crop, flip&rotate, binarization, grayscale, adjust), advanced image manipulation features (filtering, dithering, masking, deskewing) and memory optimization strategies.

Aspose.Imaging for .NET is a flexible, stable and powerful API, capable of processing the most commonly used formats along with some special formats such as DjVu, DICOM, WebP & DNG. Moreover, it extends the native support for image formats & processing functions for .NET and .NET Core.


Advanced Image Processing API Features



Create, load & edit images


Convert images to a variety of formats 


Various image filters and effects (gaussian, blur, median, grayscale, binarization, dithering etc)


Crop, resize & rotate-flip


Image deskew


Support animated multi-frame images


Uniform image page (frame) processing


Draw images using Graphics (graphics path and different geometric shapes)


Image masking


Memory optimization strategies


Draw text while controlling the font aspects


Save SVG with fonts embedded or exported

Inter-convert Image Formats

Along with the rich set of processing routines, API also provides an array of advanced algorithms that makes it an all-in-one solution for image conversion. These algorithms are encapsulated in specialized classes, that are simple to use and can export images to conventional raster formats along with PSD, WMF, EMF, DjVu, DICOM, DNG & WebP formats with reliability.

Using this library, format conversion is as simple as changing the file extension to the desired format.

Save image in different formats - C#

// load file to be converted
using (var img = Aspose.Imaging.Image.Load(dir + "template.jpg"))
    // save in different formats
    img.Save(dir + "output.webp", new Aspose.Imaging.ImageOptions.WebPOptions());
    img.Save(dir + "output.psd ", new Aspose.Imaging.ImageOptions.PsdOptions());
    img.Save(dir + "output.tiff", new Aspose.Imaging.ImageOptions.TiffOptions(TiffExpectedFormat.Default));

Dynamically Draw Images

Aspose.Imaging for .NET supports an advanced set of drawing features along with the core functionality. Developers can draw on image surface either by manipulating the pixel information or by using the advanced functionality like Graphics and Paths.

.NET image library enables you to easily draw lines, curves, rectangles & other geometric shapes, fill closed shapes with solid colors or gradients & textures, draw text with options for fine control over the font and draw images by loading existing image data.

Recover Data from Broken TIFF Files

Aspose.Imaging for .NET provides extensive support for the TIFF file format including the feature of data recovery, using which the developers can extract the data from a broken image with some loss. The data recovery allows loading a TIFF file that has improper data layout or corrupted data strips. Data recovery replaces the corrupted data with any color, and the resultant image can be further processed without experiencing errors.

Recover damaged TIFF file - C#

// create an instance of LoadOptions
var loadOptions = new Aspose.Imaging.LoadOptions();
// set recovery mode & color for broken strips 
loadOptions.DataRecoveryMode = Aspose.Imaging.DataRecoveryMode.ConsistentRecover;
loadOptions.DataBackgroundColor = Aspose.Imaging.Color.Red;
// load broken TIFF
using (var img = Aspose.Imaging.Image.Load(dir + "template.tiff", loadOptions))
    // do processing

Support and Learning Resources


Aspose.Imaging offers individual Imaging APIs for other popular development environments as listed below: