HTML
JPG
PDF
XML
CGM
BMP
Convert PCL to TIFF via C#
Native and high-performance PDF file creation without Adobe Acrobat installation using C#.
How to Convert PCL to TIFF Using C#
In order to convert PCL to TIFF, we’ll use Aspose.PDF for C++ API which is a feature-rich, powerful and easy to use document manipulation and conversion API for C++ platform. Open NuGet package manager, search for Aspose.PDF and install. You may also use the following command from the Package Manager Console.
Package Manager Console Command
PM> Install-Package Aspose.PDF
Dependency
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>version of aspose-pdf API</version>
<classifier>jdk17</classifier>
</dependency>
Steps to Convert PCL to TIFF via C#
.NET developers can easily load & convert PCL files to TIFF in just a few lines of code.
- Initialize a new Document
- Create & set the instance of TiffDevice class with Size & Resolution
- Call TiffDevice.Process method with page index & output file path as parameters
- Finally, save the output TIFF file
System Requirements
Aspose.PDF for .NETis supported on all major operating systems. Just make sure that you have the following prerequisites.
This sample code shows PCL to TIFF C# Conversion
public static void ConvertPCLtoTIFF()
{
// load PCL with an instance of Document
var document = new Document("template.pcl", new PclLoadOptions());
// create an object of tiffDevice
var renderer = new Aspose.Pdf.Devices.TiffDevice();
// convert a particular page and save the image in TIFF format
renderer.Process(document, "output.tiff");
}