package wordSamples; import com.qoppa.pdf.TIFFOptions; import com.qoppa.word.WordDocument; public class WordToTIFF { public static void main (String [] args) { try { // Load the document WordDocument wd = new WordDocument ("input.doc"); // Save the document as a multi-page TIFF file wd.saveDocumentAsTIFF("output.tif", new TIFFOptions(150, TIFFOptions.TIFF_FAX_GROUP4)); } catch (Throwable t) { t.printStackTrace(); } } }