Word to Tiff conversion resulting in an empty TIFF file

I am currently using the latest download of Aspose Words for Java to convert Word documents into TIFF. I followed the programmers guide and code examples, but the TIFF file output is always an empty file of 0kb. Below is the code I am using, and I have attached the a screenshot of the file output. I have no problems at all converting Word to PDF, but we need the TIFF to work. Thank you for your help!

public String ConvertWordDoc()
{
    try
    {
        ImageSaveOptions options = new ImageSaveOptions(SaveFormat.TIFF);
        options.setPageIndex(0);
        options.setPageCount(2);
        options.setTiffCompression(TiffCompression.CCITT_4);
        options.setResolution(160);
        Document doc = new Document("C:\TestFile.doc");
        doc.save("C:\TestAspose.tiff", options);
    }
    catch (Exception ex)
    {
    }
    return "Done";
}

Hi Mark,

Thanks for your inquiry. Could you please attach your input Word document here for testing? I will investigate the issue on my side and provide you more information.

Sure. It is the same file Aspose provides in its example code.
My environment is Windows 7 with Netbeans 7.4 and Java SE 1.7

Hi Mark,

Thanks for your inquiry. I have tested the scenario at Windows 7, Netbeans and Jdk 1.7 with latest version of Aspose.Words for Java v13.12.0 and have not found the shared issue. Please check the attached images for detail.

Aspose.Words for Java depends upon the JAI package from Sun in order to process images. Most of our Java products depend upon the JAI package (Java Advanced Imaging) from Sun in order to process images. You can find jai and jai-imageio 1.1 in the following links:

https://docs.aspose.com/words/java/system-requirements/#optional-dependencies

If we can help you with anything else, please feel free to ask.

Thank you for your response and testing. We were able to get the TIFF file working with the JAI. May we suggest updating your documentation with this requirement? This could have saved us time on this project as we cannot find any references to requiring JAI in the READMEs or product documentation.
Thank you.

Hi Mark,

Thanks for your suggestions. We will be sure to improve online documentation in this regard shortly. We apologize for your inconvenience.

Best regards,