BCL Technologies

A PDFTron Company

we know PDF ..... inside and out


Rasterizing PDF with Java


  1. PDF to EMF (Enhanced Metafile) image conversions.
  2. Rasterizing PDF into BMP, GIF, JPEG, PNG, and TIFF image formats.
  3. Set page number, image color, image quality, image resolution, page conversion timeout.

Sample Java Project File

This program demonstrates easyPDF SDK ability to convert a PDF file to an image file.
Usage: java TestConverter [pdf file] [image file]

import com.bcl.easypdf.*;
import com.bcl.easypdf.EasyPDFConverter.*;
import java.io.File;

public class TestConverter
	public static void main(String[] args) throws Exception
		if (args.length == 2)
			File inputFile = new File(args[0]);
			String inputFileName = inputFile.getCanonicalPath();

			File outputFile = new File(args[1]);
			String outputFileName = outputFile.getCanonicalPath();


			IPDFConverter cvtr = new IPDFConverter();
			IPDF2Image pti = cvtr.getPDF2Image();

			System.out.println("Usage: java TestConverter [pdf file] [image file]");
			System.out.println("For example:");
			System.out.println("java TestConverter c:\\input\\smile.pdf c:\\output\\smile.jpg");

For Windows-based systems only

Request Pricing

BCL easyPDF SDK is a commercially supported PDF toolkit.

PDF Java Features

Sample PDF Java Projects and Documentation

“We use easyPDF SDK technology for PDF conversion and it works very well. We knew BCL is a solid company. We have also looked at several competitors and tried to use their products, but we like easyPDF SDK the best. When we talked to BCL Technologies’ design engineering team, we knew they had the knowledge and confidence to solve our problems.

- Chris Babiasz, MSWireless

© 1993 - , BCL Technologies.

All other trademarks are the property of their respective owners.