.NET APIs to Manipulate Photoshop Files

Create, Read, Edit and Convert PSD & PSB files without any Adobe Photoshop dependencies.

  Download Free Trial
Aspose.PSD for .NET

Aspose.PSD for .NET


Aspose.PSD for .NET is an advanced PSD file formats manipulation API without any Adobe Photoshop dependencies. API allows to create or edit the Photoshop files as well as provides the ability to update layer properties, add watermarks, perform graphics operations or convert one file format to another.

Aspose.PSD for .NET supports PSD and PSB file formats for loading and manipulation as well as allows export to various raster image formats such as TIFF, JPEG, PNG, GIF, BMP and more.


Advanced .NET PSD Manipulation API Features



Convert Photoshop files to images


Create a Photoshop file from scratch


Load existing Photoshop files


Clip to a rectangular region


Draw & fill basic shapes


Crop, rotate & resize Images


Merge PSD layers


Grayscale Support With Alpha for PSD


Layer Effects For PSD


Layer Creation Date and Time


Sheet Color Highlighting


Support of Layer Mask


Support of Text Layers on Runtime


Support of Adjustment Layers


Manage Brightness and Contrast in Adjustment Layers


Manage Exposure Layers


Manage Channel Mixer Adjust Layers


Merge PSD layers into Other layers


Rendering of Curves Adjustment Layers


Manager Photo Filter Adjustment Layer


Adding and Rendering of Level Layers


Add Hue Saturation of Adjustment Layers


Support of Clipping Mask


Manage Opacity of Layers & Flatten Layers

Export PSD to Various Raster Formats

Aspose.PSD for .NET provides the capability to export PSD files to any of supported raster image formats, with just a few lines of code.

Convert PSD to PNG, JPEG & TIFF - C#

// load an existing PSD image as Image
using (var psd = Aspose.PSD.Image.Load(dir + "template.psd"))
    // save result in different raster formats with customized attributes
    psd.Save(dir + "output.png", new Aspose.PSD.ImageOptions.PngOptions());
    psd.Save(dir + "output.jpg", new Aspose.PSD.ImageOptions.JpegOptions() { Quality = 70 });
    psd.Save(dir + "output.tiff", new Aspose.PSD.ImageOptions.TiffOptions(Aspose.PSD.FileFormats.Tiff.Enums.TiffExpectedFormat.TiffCcitRle));

Access & Manipulate PSD Layers

Aspose.PSD for .NET lets you access layers of a PSD with the ability to draw on it with either image or text. You can merge layers, update text on layers, set effects or export layer as an image. You may also use PSD .NET API to detect flattened PSD files or create thumbnails.

Read or Create PSD Files

Aspose.PSD for .NET not only supports loading PSD & PSB file formats for manipulation & conversion but it also provides the capability to create PSD & PSB files from scratch. .NET developers can use the API to automate scenarios that may help them on their way.

Create PSD from scratch - C#

using (var psd = Aspose.PSD.Image.Create(new Aspose.PSD.ImageOptions.PsdOptions()
    Source = new Aspose.PSD.Sources.FileCreateSource(dir + "output.psd", false),
    ColorMode = Aspose.PSD.FileFormats.Psd.ColorModes.Rgb,
    CompressionMethod = Aspose.PSD.FileFormats.Psd.CompressionMethod.RLE,
    Version = 4
}, 400, 400))
    // draw some graphics over the newly created PSD
    var graphics = new Aspose.PSD.Graphics(psd);
    graphics.DrawEllipse(new Aspose.PSD.Pen(Aspose.PSD.Color.Red, 6), new Aspose.PSD.Rectangle(0, 0, 400, 400));

Various Imaging Filters

Aspose.PSD for .NET provides the core imaging features such as color adjustment via its class libraries. Developers can easily adjust brightness, contrast or gamma on raster image loaded by the API. Furthermore, developers can dynamically dither or blur images as well as use popular filters including Median, Gauss Wiener, Motion Wiener and Bradley Threshold.


Support and Learning Resources