Convert an Excel worksheet to a Tiff Image in Java using jOfficeConvert

This Java sample program uses jOfficeConvert to convert an Excel spreadsheet to a multi page Tiff image. // Load the document ExcelDocument ed = new ExcelDocument("input.xlsx", new ExcelConvertOptions());   // Save the document as a multi-page TIFF file ed.saveDocumentAsTIFF("output.tif", new TIFFOptions(150, TIFFOptions.TIFF_FAX_GROUP4));// Load the document ExcelDocument ed = new ExcelDocument("input.xlsx", new ExcelConvertOptions()); // Save the […]

Read More

Export / Convert PDF Pages to Thumbnail Images with Java

Here is Java sample code to export PDF pages to images in various formats: PNG, JPG and TIFF using Qoppa’s PDF library jPDFImages. When opening the PDF document, the sample below read the document from a local file, the code can be simply changed to read the file from a file input stream instead. Export […]

Read More

Code Sample: Convert PDF to Tiff in Java

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 = […]

Read More