Rastering PDF
Benefits
- PDF to EMF (Enhanced Metafile) image conversions.
- Rasterize PDF into BMP, GIF, JPEG, PNG, and TIFF image formats.
- Set page number, image color, image quality, image resolution, page conversion timeout.
Sample 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();
EasyPDF.initialize();
IPDFConverter cvtr = new IPDFConverter();
IPDF2Image pti = cvtr.getPDF2Image();
pti.Convert(inputFileName,outputFileName,null,null,null);
EasyPDF.uninitialize();
}
else
{
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");
}
}
}
|
Download Free Trial
The Free Trial is a fully functional
software, with 30-day
expiration.
QuickStart Video
Watch a QuickStart Video on how to use easyPDF SDK in Java Environment

- "It took very little amount of coding to integrate easyPDF SDK into our application, and we haven’t had to change BCL code once!" - Shawn Hess, TAXWORKS
PDF Features
Sample Projects and Documentation
|