Hi. I am using aspose words to convert .tif and .tiff files to PDF.
var pdfDoc = new com.aspose.words.Document(new java.io.ByteArrayInputStream(qie.base64DecodeToBytes(<base64>)));
PdfSaveOptions = new com.aspose.words.PdfSaveOptions();
PdfSaveOptions.setSaveFormat(com.aspose.words.SaveFormat.PDF);
PdfSaveOptions.setTempFolder(channelCache.getValue('PATH_DOC_OUT'));
pdfDoc.save(path, PdfSaveOptions);
The code executed without error, but the output file contains junk data.
Am I using the correct library or perhaps missing some code?