Edit the PSD document via C#
Build your own .NET apps to edit PSD files using server-side APIs.
How to Edit PSD File Data Using C#
In order to edit PSD file, we’ll use
API which is a feature-rich, powerful and easy to use document manipulation API for C# platform. Open
package manager, search for Aspose.PSD and install. You may also use the following command from the Package Manager Console.
Command
PM> Install-Package Aspose.PSD
Steps to make some manipulation of PSD file via C#
You need the
to try the following workflow in your own environment.
- Load PSD with Image.Load method. Cast it into a PsdImage
- Use the instance of PsdImage for access to Layers, Resources, and other and other data of the PSD file.
- Save the changed file using the Save method of the PsdImage instance.
System Requirements
Aspose.PSD for .NET is supported on all major operating systems. Just make sure that you have the following prerequisites.
- Microsoft Windows or a compatible OS with .NET Framework, .NET Core.
- Development environment like Microsoft Visual Studio.
- Aspose.PSD for .NET referenced in your project.
Create PSD file - C#
Create/Add Layers - C#
Change layer name - C#
Change text in TextLayer - C#
About Aspose.PSD for .NET API
Aspose.PSD is a Photoshop format manipulation API. One can generate, modify and convert Adobe Photoshop and Illustrator documents. Moreover, end users can perform graphics operations, update layer properties, add watermarks or render one format to PNG, GIF, BMP, TIFF, JPEG, JPEG2000, PSD, PSB etc. Its a standalone API and does not require Adobe Photoshop installation.Visual PSD Online Editor App
Edit the PSD files by visiting our Live Demos website . The live demo has the following benefits
PSD What is PSD File Format
PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. PSD files may include image layers, adjustment layers, layer masks, annotations, file information, keywords and other Photoshop-specific elements. Photoshop files have default extension as .PSD and has a maximum height and width of 30,000 pixels, and a length limit of two gigabytes.
Read More