Aspose.PSD Image Converter for .NET
Aspose.PSD Image Converter for .NET is a specialized plugin designed to transform Adobe Photoshop files (PSD and PSB) into a variety of raster and document formats. Whether you need web‑ready PNGs, high‑quality JPEGs, multi‑page TIFFs, or searchable PDFs, this converter delivers pixel‑perfect output while preserving color accuracy, transparency, and metadata.
Installation and Setup
Get started quickly:
- Install via NuGet:
dotnet add package Aspose.PSD
- Configure metered licensing ( Metered Licensing )
- For details, see the Installation Guide
Features and Functionalities
PSD and PSB Input Support
- Supports both PSD and large PSB files
- Preserves layers, smart objects, and effects for accurate conversions
Output Formats
- PDF: Single or multi‑page, with vector‑like quality
- PNG/JPEG: Adjustable compression, transparency, color depth
- GIF: Static or animated
- TIFF: Multi‑page TIFFs with various compression schemes
- BMP/J2K: Additional raster options
Layer and Transparency Handling
- Flatten layers or export each layer as separate frames/pages
- Preserve alpha channels, masks, and transparencies
Color Management
- Detect and embed ICC profiles
- Convert between RGB, CMYK, and Grayscale
Compression and Quality Control
- Fine‑tune JPEG quality and chroma subsampling
- Choose TIFF compression algorithms (LZW, PackBits, Deflate)
- Downsample/compress images for optimized PDFs
Metadata Preservation
- Retains EXIF, IPTC, and XMP metadata in supported formats
Batch Conversion
- Process directories of PSD/PSB files at once
- Apply consistent export settings across large workloads
Performance and Memory Management
- Streaming‑based API minimizes memory usage
- Thread‑safe, supports parallel workflows
C# Example: Converting PSD to Multiple Formats
var loadOpt = new PsdLoadOptions() { LoadEffectsResource = true };
using (PsdImage image = (PsdImage)Image.Load("input.psd", loadOpt))
{
image.Save("output.pdf", new PdfOptions());
image.Save("output.jpg", new JpegOptions() { Quality = 80 });
image.Save("output.png", new PngOptions() { ColorType = PngColorType.TruecolorWithAlpha });
image.Save("output.tif", new TiffOptions(TiffExpectedFormat.TiffLzwRgb));
image.Save("output.gif", new GifOptions());
}
Tips and Best Practices
- Use
using
blocks or callDispose()
to free resources promptly - For PSB files, enable streaming to handle very large images
- Run batch conversions in background services for better scalability
- Choose optimized formats: PNG‑8 or GIF for small icons, JPEG 80–90% for photos
- Avoid unnecessary ICC profiles to reduce file size
- Log conversion warnings (e.g., unsupported effects) for quality control
Advanced Features
- Batch process hundreds of files simultaneously
- Customize per‑format export options (compression, resolution, profiles)
- ICC profile embedding for professional color management
- Full support for automation within .NET apps (C#, F#, VB.NET, Delphi, C++ via COM Interop)
Frequently Asked Questions
What formats are supported? PNG, JPEG, TIFF, PDF, J2K, GIF, BMP.
Is Photoshop required? No, this runs independently of Adobe Photoshop.
Can it handle batch conversions? Yes, it supports folder‑level and multi‑file batch processing.
What are the main advantages? Pixel‑perfect exports, server‑side processing, metadata preservation, and extensive export options.
Where is it used? Graphic design, advertising, printing, publishing, e‑commerce, and web development workflows.