HTML
JPG
PDF
XML
PSB
PDF
Convert PSB to PDF via C#
How to Convert PSB to PDF Using C#
In order to convert PSB to PDF, 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 PSB to PDF via C#
Aspose.PSD makes it easy for the developers to load & convert PSB files to PDF in just a few lines of code.
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 PSB to PDF C# Conversion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Specify path for input PSB file | |
String sourceFileName = "SourceFile.psb"; | |
// Load input PSB file | |
PsdImage image = (PsdImage)Aspose.PSD.Image.Load(sourceFileName); | |
// Convert PSB to PDF file | |
image.Save(dataDir + "converted_output.pdf", new PdfOptions()); |
Free App to Convert PSB to PDF
Other Supported Conversions
You can also convert PSB into many other file formats including few listed below.
PSB TO BMP ({{bmp _name}})
PSB TO GIF ({{gif _name}})
PSB TO JPEG ({{jpeg _name}})
PSB TO PDF ({{pdf _name}})
PSB TO PNG ({{png _name}})
PSB TO PSD ({{psd _name}})
PSB TO TIFF ({{tiff _name}})