Convert PSD to PSB via C#
How to Convert PSD to PSB Using C#
In order to convert PSD to PSB, we’ll use
API which is a feature-rich, powerful and easy to use document manipulation and conversion 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.
Package Manager Console Command
PM> Install-Package Aspose.PSD
Steps to Convert PSD to PSB via C#
Aspose.PSD makes it easy for the developers to load & convert PSD files to PSB in just a few lines of code.
- Load PSD file with Image.Load method
- Cast the Image object to PsdImage
- Call the Image.Save method with output file path & an instance of PsdOptions
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 DLL referenced in your project.
This sample code shows PSD to PSB C# Conversion
Free App to Convert PSD to PSB
Check our live demos for PSD to PSB conversion with 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 Morepsb What is psb File Format
Adobe photoshop saves files in two formats. Files having 30,000 by 30,000 pixels in size are saved with PSD extension and files larger than PSD upto 300,000 by 300,000 pixels are saved with PSB extension known as “Photoshop Big”. More specifically, PSB files can be as large as 4 EB (over 4.2 billion GB) with images that have a height and width of up to 300,000 pixels. PSDs, on the other hand, can be at maximum upto 2 GB and image dimensions of 30,000 pixels. PSB is also known as large format size for photoshop and supports all the photoshop features like layers, effects and filters.
Read MoreOther Supported Conversions
You can also convert PSD into many other file formats including few listed below.