This Java program converts a PDF file to a multi-page TIFF file using Qoppa’s library jPDFProcess.

package jPDFProcessSamples;
import java.io.FileOutputStream;
import com.qoppa.pdf.TIFFOptions;
import com.qoppa.pdfProcess.PDFDocument;
public class PDFToTIFF
{
    public static void main (String [] args)
    {
        try
        {
            PDFDocument pdfDoc = new PDFDocument ("input.pdf", null);
            TIFFOptions options = new TIFFOptions (150, TIFFOptions.TIFF_PACKBITS);
            FileOutputStream outStream = new FileOutputStream ("output.tif");
            pdfDoc.saveDocumentAsTIFF(outStream, options);
            outStream.close();
        }
        catch (Throwable t)
        {
            t.printStackTrace();
        }
    }
}

Download sample code.

jPDFProcess is a powerful PDF library that supports many PDF functions to work with PDF documents in Java. If you’re only looking to convert PDF documents to Images, please look at our library jPDFImages.