.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 and entry level AI files formats manipulation API without any Adobe Photoshop or Adobe Illustrator dependencies. API allows to create and 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 import as a layer and export to the following formats: Png, Jpeg, Jpeg2000, Gif, Bmp, Tiff, Psd, Psb along with export to Pdf with selectable text. Aspose.PSD partially supports such Adobe Photoshop features as Adjustment Layers, Text Layer rendering and editing, Fill Layers, Layers Effects, Editing of Raster and Vector Masks for layers.

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 layers

Support of Layers

Support of PSD file Preview Pixel-Perfect Exporting

Support of RGB, CMYK, LAB, Grayscale with 8/16/32 bits per channel.

Support of Layer Effects

Layer Creation Date and Time

Sheet Color Highlighting

Support of Layer Mask

Support of Text Layers on Runtime

Support of Adjustment Layers

Support of Black & White Adjustment Layer

Support of Brightness/Contrast Adjustment Layer

Support of Channel Mixer Adjustment Layer

Support of Color Balance Adjustment Layer

Support of Curves Adjustment Layer

Support of Exposure Adjustment Layer

Support of Hue/Saturation Adjustment Layer

Support of Invert Adjustment Layer

Support of Levels Adjustment Layer

Support of Photo Filter Adjustment Layer

Support of Clipping Masks

Support of Vector Layer Masks

Support of Raster Layer Masks

Manage Opacity of Layers & Flatten Layers

Support of a large number of Layer Resources

Support of a large number of Image Section Resources

Support of Fill Layers

Support of Linked Layers

Support of Layer Groups

Support of AI files

Export PSD to Various Raster Formats

Aspose.PSD for .NET provides the capability to export PSD files to any of the 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 pfile = Aspose.PSD.Image.Load(dir + "template.psd"))
    // save result in different raster formats with customized attributes
    pfile.Save(dir + "output.png", new Aspose.PSD.ImageOptions.PngOptions());
    pfile.Save(dir + "output.jpg", new Aspose.PSD.ImageOptions.JpegOptions() { Quality = 70 });
    pfile.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 pdoc = 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(pdoc);
    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