Aspose.PSD 21.10.0

Install-Package Aspose.PSD -Version 21.10.0
dotnet add package Aspose.PSD --version 21.10.0
<PackageReference Include="Aspose.PSD" Version="21.10.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.PSD --version 21.10.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.PSD, 21.10.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.PSD as a Cake Addin
#addin nuget:?package=Aspose.PSD&version=21.10.0

// Install Aspose.PSD as a Cake Tool
#tool nuget:?package=Aspose.PSD&version=21.10.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.NET API for Photoshop File Processing

Version 21.10 Nuget

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

A standalone .NET API to read, write, process & convert Adobe Photoshop PSD & PSB formats without needing to install Adobe Photoshop®.

Aspose.PSD for .NET API allows you to create and edit the Photoshop files as well as provides the ability to update layer properties, add watermarks, perform graphics operations and convert one file format to another.

Photoshop File Processing Features

  • Create Photoshop PSD & PSB files via API.
  • Export PSD images to popular image formats.
  • Binarization with fixed & Otsu threshold.
  • Convert GIF image layers to TIFF & CMYK PSD to CMYK TIFF.
  • Combine, expand, or crop images.
  • Create, read, and write XMP data.
  • Set default font as a replacement for all the missing fonts.
  • Apply Median & Wiener filters to reduce image noise.
  • Transform images to black-n-white or grayscale.
  • Crop images by shifts or rectangle.
  • Rotate an image at a specific angle
  • Perform simple image resize, or by image proportions.
  • Support for dithering of raster images.
  • Adjust image brightness, contrast, and gamma.
  • Implement Lossy GIF Compression & Bicubic Resampling.
  • Color Balance or invert Adjustment Layer.
  • Draw basic objects such as lines, Ellipse, Rectangle, Arc, Bezier.

Read & Write Photoshop Formats

Adobe Photoshop: PSD, PSB

Save Photoshop Files As

Raster Formats: TIFF, JPEG, PNG, GIF, BMP, JPEG2000
Fixed Layout: PDF

Read Formats

Adobe Illustrator: AI

Platform Independence

Aspose.PSD for .NET can work in any environment that supports .NET framework 2.0 or above.

Get Started

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

Crop a PhotoShop PSD to Save Result in PNG format

You can execute the below code snippet to see how Aspose.PSD API works in your own development environment or check the GitHub Repository for other common usage scenarios.

// implement correct Crop method for PSD files.
using (RasterImage image = Image.Load(dir + "template.psd") as RasterImage)
{
    image.Crop(new Rectangle(10, 30, 100, 100));
    image.Save(dir + "output.png", new PngOptions() { ColorType = PngColorType.TruecolorWithAlpha });
}

Draw Rectangles in a PSD Image

// create an instance of Image
using (Image image = new PsdImage(100, 100))
{
    Graphics graphic = new Graphics(image);
    graphic.Clear(Color.Yellow);
    // draw a rectangle with Pen tool
    graphic.DrawRectangle(new Pen(Color.Red), new Rectangle(30, 10, 40, 80));
    // draw another rectangle with Solid Brush in Blue color
    graphic.DrawRectangle(new Pen(new SolidBrush(Color.Blue)), new Rectangle(10, 30, 80, 40));
}

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

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Aspose.PSD:

Package Downloads
Aspose.Total

Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

Conholdate.Total

Conholdate.Total for .NET is a complete package to work with a large number of file formats from Microsoft Word, Excel, PowerPoint, Outlook, Project, Visio, Adobe Acrobat, Illustrator, Photoshop, AutoCAD, OpenOffice and many more. Conholdate.Total for .NET allows you to use any API released under Aspose and GroupDocs for .NET in order to create, convert, read, edit, update and print popular document formats. Moreover, you may view, annotate, watermark, assemble, classify, search, redact, parse, merge and compare documents without needing to install the native applications. It helps you in file format manipulation and document automation via simple API. Conholdate.Total for .NET also includes specialized APIs to read and create barcodes, extract text from images using OCR as well as extract human marked data from questioners, surveys, quizzes, MCQ papers and feedback forms.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
21.10.0 247 9/30/2021
21.9.0 368 9/10/2021
21.8.0 708 8/6/2021
21.7.0 1,331 7/14/2021
21.6.0 1,187 6/9/2021
21.5.0 1,109 5/13/2021
21.4.0 9,010 4/30/2021
21.3.0 1,749 3/29/2021
21.2.0 3,002 2/25/2021
21.1.0 469 1/29/2021
20.12.0 1,691 12/31/2020
20.11.0 1,248 12/1/2020
20.10.0 2,624 10/22/2020
20.9.0 641 9/30/2020
20.8.0 1,732 8/31/2020
20.7.0 1,232 7/30/2020
20.6.0 894 6/29/2020
20.5.0 904 5/28/2020
20.4.0 4,500 4/27/2020
20.3.0 758 3/31/2020
20.2.0 3,314 2/25/2020
19.12.0 2,182 12/12/2019
19.11.0 605 11/29/2019
19.10.0 565 10/29/2019
19.9.0 460 9/26/2019
19.8.0 5,907 8/30/2019
19.7.0 380 8/12/2019
19.6.0 459 7/15/2019
19.5.0 705 5/20/2019
19.4.0 572 4/16/2019
19.3.0 517 3/15/2019
19.2.0 1,333 2/14/2019
18.12.0 543 12/7/2018
18.10.0 736 10/4/2018
18.8.0 621 8/13/2018