Aspose.PSD
24.12.0
dotnet add package Aspose.PSD --version 24.12.0
NuGet\Install-Package Aspose.PSD -Version 24.12.0
<PackageReference Include="Aspose.PSD" Version="24.12.0" />
paket add Aspose.PSD --version 24.12.0
#r "nuget: Aspose.PSD, 24.12.0"
// Install Aspose.PSD as a Cake Addin #addin nuget:?package=Aspose.PSD&version=24.12.0 // Install Aspose.PSD as a Cake Tool #tool nuget:?package=Aspose.PSD&version=24.12.0
.NET API for Photoshop® File Processing
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.
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.
Supported File Formats
The following table indicates the file formats that Aspose.PSD for .NET can load and save.
Format | Description | Load | Save |
---|---|---|---|
PSD | Adobe Photoshop Document File Format | ✔️ | ✔️ |
PSB | Adobe Photoshop Image File | ✔️ | ✔️ |
TIFF | Saves the document as Single or Multi-Page TIFF Image | ✔️ | |
JPEG | Saves the document in JPEG Format | ✔️ | |
PNG | Saves the document in PNG Format | ✔️ | |
GIF | Saves the document in GIF Format | ✔️ | |
BMP | Saves the document in BMP Format | ✔️ | |
JPEG2000 | Saves the document in JPEG2000 Format | ✔️ | |
Portable Document Format | ✔️ | ||
AI | Adobe Illustrator File | ✔️ |
System Requirements
Supported OS
Windows 2000 to Windows 10 (x86 & x64)
Supported Platforms
Windows Forms, Web Forms, Visual Studio (2005 to 2019)
Framework Compatibility
.NET Framework 2.0+ and .NET Standard 2.0
Get Started
1. Install via NuGet
Use NuGet in Visual Studio for an easy setup: search "aspose," select Aspose.PSD, and click "Install" to add it to your project.
2. Install or Update via Package Manager Console
- Open Package Manager Console in Visual Studio.
- Install with:
Install-Package Aspose.Psd
- Update with:
Update-Package Aspose.Psd
3. Shared Server Considerations
Requires Full Trust permissions for full functionality (e.g., reading fonts and rendering).
4. .NET Core DLLs via MSI
Ensure necessary dependencies are added if using the .NET Standard DLL installed via MSI.
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));
}
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
| PSD File
| PSB File
| Graphics Operations
| Layer Styles
| Effects
| Text Handling
| Vector Path
| Manipulation
| Layer Effects
| Document Integration
| Metadata
| Compatibility
| Performance
| Cloud
| 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 | Versions 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. |
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 3.5 Client
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.0 Client
- No dependencies.
-
.NETStandard 2.0
- System.Drawing.Common (>= 6.0.0)
- System.Text.Encoding.CodePages (>= 6.0.0)
-
net5.0
- Newtonsoft.Json (>= 13.0.3)
- System.Drawing.Common (>= 6.0.0)
- System.Text.Encoding.CodePages (>= 6.0.0)
-
net6.0
- Newtonsoft.Json (>= 13.0.3)
- System.Drawing.Common (>= 6.0.0)
- System.Text.Encoding.CodePages (>= 6.0.0)
-
net7.0
- Aspose.Drawing (>= 23.7.0)
- Newtonsoft.Json (>= 13.0.3)
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.12.0 | 478 | 12/13/2024 |
24.11.0 | 19,806 | 11/11/2024 |
24.10.0 | 4,525 | 10/14/2024 |
24.9.0 | 14,441 | 9/23/2024 |
24.8.0 | 27,927 | 8/14/2024 |
24.7.0 | 16,940 | 7/11/2024 |
24.6.0 | 26,238 | 6/6/2024 |
24.5.0 | 13,800 | 5/17/2024 |
24.4.0 | 18,522 | 4/16/2024 |
24.3.0 | 10,618 | 3/26/2024 |
24.2.0 | 12,614 | 3/13/2024 |
24.1.0 | 21,813 | 2/5/2024 |
23.12.0 | 21,333 | 1/3/2024 |
23.11.0 | 27,244 | 11/30/2023 |
23.10.0 | 15,277 | 11/13/2023 |
23.9.0 | 21,865 | 10/5/2023 |
23.8.0 | 19,666 | 9/1/2023 |
23.7.0 | 15,053 | 7/24/2023 |
23.6.0 | 9,401 | 6/23/2023 |
23.5.0 | 7,052 | 5/29/2023 |
23.4.0 | 8,199 | 4/18/2023 |
23.3.0 | 8,839 | 3/24/2023 |
23.2.0 | 12,187 | 2/22/2023 |
23.1.0 | 16,481 | 1/30/2023 |
22.12.0 | 13,718 | 12/13/2022 |
22.11.0 | 10,228 | 11/10/2022 |
22.10.0 | 27,748 | 9/28/2022 |
22.9.0 | 3,126 | 9/1/2022 |
22.8.0 | 27,632 | 7/27/2022 |
22.7.0 | 9,021 | 7/4/2022 |
22.6.0 | 15,069 | 6/1/2022 |
22.5.0 | 21,613 | 5/4/2022 |
22.4.0 | 15,738 | 4/4/2022 |
22.3.0 | 21,549 | 2/28/2022 |
22.2.0 | 3,090 | 2/1/2022 |
22.1.0 | 10,840 | 12/28/2021 |
21.12.0 | 2,105 | 12/6/2021 |
21.11.0 | 14,861 | 10/29/2021 |
21.10.0 | 15,737 | 9/30/2021 |
21.9.0 | 6,673 | 9/10/2021 |
21.8.0 | 13,455 | 8/6/2021 |
21.7.0 | 26,769 | 7/14/2021 |
21.6.0 | 13,316 | 6/9/2021 |
21.5.0 | 9,854 | 5/13/2021 |
21.4.0 | 18,166 | 4/30/2021 |
21.3.0 | 17,766 | 3/29/2021 |
21.2.0 | 10,667 | 2/25/2021 |
21.1.0 | 1,463 | 1/29/2021 |
20.12.0 | 4,213 | 12/31/2020 |
20.11.0 | 8,409 | 12/1/2020 |
20.10.0 | 9,814 | 10/22/2020 |
20.9.0 | 1,806 | 9/30/2020 |
20.8.0 | 3,163 | 8/31/2020 |
20.7.0 | 2,592 | 7/30/2020 |
20.6.0 | 2,766 | 6/29/2020 |
20.5.0 | 2,617 | 5/28/2020 |
20.4.0 | 12,730 | 4/27/2020 |
20.3.0 | 2,338 | 3/31/2020 |
20.2.0 | 5,222 | 2/25/2020 |
19.12.0 | 6,690 | 12/12/2019 |
19.11.0 | 1,377 | 11/29/2019 |
19.10.0 | 1,393 | 10/29/2019 |
19.9.0 | 1,171 | 9/26/2019 |
19.8.0 | 11,557 | 8/30/2019 |
19.7.0 | 1,169 | 8/12/2019 |
19.6.0 | 1,230 | 7/15/2019 |
19.5.0 | 1,525 | 5/20/2019 |
19.4.0 | 1,384 | 4/16/2019 |
19.3.0 | 1,361 | 3/15/2019 |
19.2.0 | 2,150 | 2/14/2019 |
18.12.0 | 1,404 | 12/7/2018 |
18.10.0 | 1,682 | 10/4/2018 |
18.8.0 | 1,562 | 8/13/2018 |