package officeSamples; import com.qoppa.office.ExcelConvertOptions; import com.qoppa.office.ExcelDocument; import com.qoppa.pdf.TIFFOptions; public class ExcelToTIFF { public static void main (String [] args) { try { // 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)); } catch (Throwable t) { t.printStackTrace(); } } }