How to convert PDF pages to compressed TIFF files?

You can do this with the following example code in Java.

ConvertPagesToImages convert = new ConvertPagesToImages("inputFileName");
try {
    for (int page = 1; page <= convert.getPageCount(); page++) {
        BufferedImage bi = convert.getPageAsImage(page);
        TiffEncoder tiffEncoder = new TiffEncoder();
        tiffEncoder.write(bi, new FileOutputStream(new File("outputFileName")));
} catch (PdfException | IOException e) {

You can find out more about the PDF to Image conversion here.

Still need help? Send us your questions.