.NET API for Photoshop File Processing
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.
Adobe Photoshop: PSD, PSB
Save Photoshop Files As
Raster Formats: TIFF, JPEG, PNG, GIF, BMP, JPEG2000
Fixed Layout: PDF
Adobe Illustrator: AI
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.
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