Aspose.PSD 24.8.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.PSD --version 24.8.0                
NuGet\Install-Package Aspose.PSD -Version 24.8.0                
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.PSD" Version="24.8.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.PSD --version 24.8.0                
#r "nuget: Aspose.PSD, 24.8.0"                
#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.PSD as a Cake Addin
#addin nuget:?package=Aspose.PSD&version=24.8.0

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

.NET API for Photoshop® File Processing

Version 24.8.0 NuGet .NET

banner

Product Page DOCS Demos API Ref Examples Blog Releases Support Temp License

A standalone .NET API to read, write, process, and convert Adobe Photoshop® PSD & PSB formats without needing to install Adobe Photoshop®. Aspose.PSD for .NET API allows you to create and edit Photoshop® files and provides the ability to update layer properties, add watermarks, perform graphics operations, and convert files between various formats.

Why Choose Aspose.PSD for .NET?

  • No Need for Adobe Photoshop®: Aspose.PSD for .NET operates independently of Adobe Photoshop®, allowing you to work with PSD and PSB files directly within your .NET applications.
  • High Performance: Designed for speed and efficiency, the API processes large PSD files quickly, even with complex layers and effects.
  • Cross-Platform Compatibility: Supports .NET Framework, .NET Core, and Mono, making it suitable for Windows, macOS, and Linux environments.
  • Comprehensive Format Support: Read, write, and convert Photoshop® and Illustrator® formats seamlessly.
  • Easy Integration: Straightforward integration into your existing .NET applications with comprehensive documentation and support.

What's new in v.24.8.0

New Features & Enhancements

  • Enhanced Warp Transformation: The new WarpSettings feature is introduced for TextLayer and SmartObjectLayer, enabling more advanced warp transformations within PSD files. This enhancement allows for precise manipulation of text and smart object layers, providing greater control over design elements (Issue ID: PSDNET-1754).
  • AI Format Layer Handling: Improved support for Adobe Illustrator (AI) files by adding handling for XObject Groups and content streams operators. This enhancement ensures more accurate rendering and manipulation of AI files within the .NET environment (Issue ID: PSDNET-1836, PSDNET-2091).

Bug Fixes

  • Improved AI File Rendering: Addressed issues where AI files rendered differently compared to Adobe Illustrator, ensuring consistent output (Issue ID: PSDNET-2015).
  • Smart Object Relinking: Resolved an issue where relinking a smart object didn't apply to all instances within a PSD file, ensuring that changes propagate correctly across all smart objects (Issue ID: PSDNET-2093).

Public API Changes

  • Added: The WarpSettings property for both TextLayer and SmartObjectLayer classes, enhancing the capability to apply and manipulate warp transformations programmatically.

Usage Examples for v.24.8.0

  • AI Format Handle layers in content streams operators
    string sourceFile = Path.Combine(baseFolder, "Layers-NoPen.ai");
      string outputFile = Path.Combine(outputFolder, "Layers-NoPen.output.png");
    
      using (AiImage image = (AiImage)Image.Load(sourceFile))
      {
          image.Save(outputFile, new PngOptions());
      }
    
      //// Curves from layer named "Pen" should be hidden
    
    
    Source*

To view the complete list of all new features, enhancements, and bug fixes introduced in this release please visit the Aspose.PSD for .NET 24.8 - Release Notes.

Photoshop® File Processing Features

  • Create & Edit Photoshop® Files: Generate new PSD and PSB files, or edit existing ones programmatically.
  • Advanced Layer Management: Update layer properties, apply blending modes, add masks, and manage Smart Objects.
  • Apply Filters & Effects: Implement Median and Wiener filters, apply color balance, invert adjustment layers, and more.
  • Raster & Vector Graphics Support: Draw basic shapes, manage vector paths, and apply transformations.
  • XMP Data Handling: Create, read, and write XMP metadata in PSD files.
  • Comprehensive Image Operations: Resize, crop, rotate, and adjust images with precision.
  • Export to Various Formats: Save your work in multiple raster and vector formats, including TIFF, JPEG, PNG, GIF, BMP, JPEG2000, and PDF.
  • Batch Processing: Efficiently process multiple files in a single batch operation.
  • Memory Optimization: Handle large files with optimized memory usage, ensuring that your applications remain responsive even with complex PSDs.
  • Smart Filter Management: Apply and manage non-destructive Smart Filters, maintaining the integrity of the original image data.
  • Color Management: Adjust brightness, contrast, gamma, and apply various color correction techniques.
  • Text Handling: Work with text layers, including font management and text effects.
  • Watermarking: Easily add watermarks to images for copyright protection.

Performance and Memory Management

  • Optimized for Large Files: Aspose.PSD for .NET is engineered to handle large PSD and PSB files efficiently, ensuring quick processing even with complex layers and effects.
  • Low Memory Footprint: The API is designed to use memory efficiently, minimizing resource consumption during intensive image processing tasks.
  • Multithreading Support: Take advantage of multithreading to parallelize tasks and improve processing speeds in multi-core environments.
  • Batch Processing: Process multiple files simultaneously with batch processing capabilities, reducing overall processing time.

Advanced Capabilities

  • Smart Object & Filter Support: Manage Smart Objects and apply Smart Filters programmatically, preserving the original image data while experimenting with effects.
  • Adjustment Layers: Utilize adjustment layers to make non-destructive edits, such as brightness/contrast adjustments, hue/saturation changes, and color balance corrections.
  • Vector Path Manipulation: Create and modify vector paths, enabling precise control over shapes and outlines in your PSD files.
  • Layer Styles & Effects: Apply layer styles like drop shadow, bevel, and emboss to enhance the appearance of layers.
  • Text Layer Manipulation: Edit text layers, including font, size, color, and effects, to create dynamic text elements in your images.

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. It is compatible with .NET Core, .NET Framework, and Mono, making it a versatile solution for applications running on Windows, macOS, and Linux. The API is also supported in cloud environments such as Azure and AWS, providing flexibility in deployment.

Get Started

Are you ready to give Aspose.PSD for .NET a try? Simply execute Install-Package Aspose.PSD from the 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 Ref Examples Blog Releases Support Temp License


Tags

.NET | Photoshop® | File Processing | NuGet | PSD PSB | AI | Image | Processing | Vector Raster | Graphics | Layer Management | Watermarking | API | Cross Platform | Multithreading | Batch Processing | Color Management | Smart Filters | Smart Objects | Adjustment Layers | Memory Optimization | PDF | Export TIFF | JPEG | PNG | BMP | GIF | JPEG2000 | Fixed Layout | Windows | macOS | Linux | Azure | AWS | Drawing | XObjectForm | AI Format | ShapeLayer | RGB | CMYK | Conversion | PsdImage | Photoshop® | PSD File | PSB File | Graphics Operations | Layer Styles | Effects | Text Handling | Vector Path | Manipulation | Layer Effects | Document Integration | Metadata | Compatibility | Performance | Cloud | Cross Platform Deployment | NuGet Package | Photoshop® Compatible | Image Manipulation | Photoshop® Editing | Image Editing | API Integration | Software Development | Application Development | Graphic Design | Development Tools | Image Processing Tools | Photoshop® Scripting | Photoshop® Automation | Photoshop® Tasks | Image Automation | Image Conversion | Photoshop® Conversion | Photoshop® Scripts | Software Integration | Programming | Graphics API

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 is compatible.  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 was computed. 
.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.

NuGet packages (3)

Showing the top 3 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.

Weavy.Core

A class library containing core business logic, data access and utility methods required by Weavy.

Aspose.PSD.Adapters.Imaging

Aspose.PSD Imaging Adapter for .NET provides time-saving integration with Aspose.Imaging to open or export additional formats and work with them in Adobe Photoshop Style using layers, effects, warp transformations without requiring Adobe Photoshop or Adobe Illustrator. Aspose.PSD has limitation on loading of additional Raster and Vector Formats. They can be only loaded as layers. If you have both Aspose.PSD and Aspose.Imaging licenses or you are user of Aspose.Total this package can save your time and efforts on integration of these products. With Aspose.PSD.Adapters.Imaging you can open in Aspose.PSD any formats like SVG, WEBP, TIFF, PNG, JPEG, GIF, JPEG2000, BMP and edit them like PSD without additional code.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.11.0 7,703 11/11/2024
24.10.0 3,637 10/14/2024
24.9.0 13,782 9/23/2024
24.8.0 26,561 8/14/2024
24.7.0 16,289 7/11/2024
24.6.0 24,782 6/6/2024
24.5.0 13,605 5/17/2024
24.4.0 17,910 4/16/2024
24.3.0 10,551 3/26/2024
24.2.0 12,346 3/13/2024
24.1.0 21,577 2/5/2024
23.12.0 20,884 1/3/2024
23.11.0 26,446 11/30/2023
23.10.0 14,872 11/13/2023
23.9.0 21,633 10/5/2023
23.8.0 19,194 9/1/2023
23.7.0 14,724 7/24/2023
23.6.0 9,262 6/23/2023
23.5.0 6,878 5/29/2023
23.4.0 8,055 4/18/2023
23.3.0 8,725 3/24/2023
23.2.0 12,018 2/22/2023
23.1.0 15,530 1/30/2023
22.12.0 13,527 12/13/2022
22.11.0 10,124 11/10/2022
22.10.0 27,353 9/28/2022
22.9.0 3,094 9/1/2022
22.8.0 27,261 7/27/2022
22.7.0 8,987 7/4/2022
22.6.0 14,877 6/1/2022
22.5.0 21,289 5/4/2022
22.4.0 15,073 4/4/2022
22.3.0 21,441 2/28/2022
22.2.0 3,082 2/1/2022
22.1.0 10,776 12/28/2021
21.12.0 2,098 12/6/2021
21.11.0 14,758 10/29/2021
21.10.0 15,414 9/30/2021
21.9.0 6,662 9/10/2021
21.8.0 13,309 8/6/2021
21.7.0 25,963 7/14/2021
21.6.0 13,227 6/9/2021
21.5.0 9,715 5/13/2021
21.4.0 18,146 4/30/2021
21.3.0 17,654 3/29/2021
21.2.0 10,606 2/25/2021
21.1.0 1,452 1/29/2021
20.12.0 4,203 12/31/2020
20.11.0 8,305 12/1/2020
20.10.0 9,732 10/22/2020
20.9.0 1,796 9/30/2020
20.8.0 3,152 8/31/2020
20.7.0 2,581 7/30/2020
20.6.0 2,752 6/29/2020
20.5.0 2,597 5/28/2020
20.4.0 12,719 4/27/2020
20.3.0 2,324 3/31/2020
20.2.0 5,196 2/25/2020
19.12.0 6,630 12/12/2019
19.11.0 1,368 11/29/2019
19.10.0 1,382 10/29/2019
19.9.0 1,161 9/26/2019
19.8.0 11,544 8/30/2019
19.7.0 1,161 8/12/2019
19.6.0 1,221 7/15/2019
19.5.0 1,517 5/20/2019
19.4.0 1,374 4/16/2019
19.3.0 1,347 3/15/2019
19.2.0 2,137 2/14/2019
18.12.0 1,394 12/7/2018
18.10.0 1,663 10/4/2018
18.8.0 1,544 8/13/2018