# Aspose.PSD-for-.NET **Repository Path**: leeinc/Aspose.PSD-for-.NET ## Basic Information - **Project Name**: Aspose.PSD-for-.NET - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-20 - **Last Updated**: 2024-01-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README   # .NET API for Photoshop File Processing A standalone .NET API to read, write, process & convert Adobe Photoshop PSD & PSB formats without needing to install Adobe Photoshop®. [Aspose.PSD for .NET](https://products.aspose.com/psd/net) allows 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.
Directory | Description --------- | ----------- [Demos](Demos) | Source code for live demos hosted at https://products.aspose.app/psd/family. [Examples](Examples) | A collection of .NET examples that help you learn the product features. ## Photoshop File Manipulation via .NET - Create Photoshop PSD & PSB files via API. - Export PSD images to [popular image formats](https://docs.aspose.com/psd/net/supported-file-formats/). - Binarization with fixed & Otsu threshold. - [Convert GIF image layers to TIFF](https://docs.aspose.com/psd/net/converting-images/) & 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 images on 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 **Photoshop:** PSD, PSB ## Save Photoshop Files As **Raster Formats:** TIFF, JPEG, PNG, GIF, BMP, JPEG2000 ## Platform Independence Aspose.PSD for .NET can work in any environment that supports .NET framework 2.0 or above. ## Getting Started with Aspose.PSD for .NET 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 PSD to Save Result as PNG ```csharp // 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 ```csharp // 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)); } ``` [Home](https://www.aspose.com/) | [Product Page](https://products.aspose.com/psd/net) | [Docs](https://docs.aspose.com/psd/net/) | [Demos](https://products.aspose.app/psd/family) | [API Reference](https://apireference.aspose.com/psd/net) | [Examples](https://github.com/aspose-psd/Aspose.PSD-for-.NET) | [Blog](https://blog.aspose.com/category/psd/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/psd) | [Temporary License](https://purchase.aspose.com/temporary-license)