Hello,
I have the tiff file that’s convert to pdf (open) incorrectly.
I checked the latest version of aspose-java, and the error still persists. I checked your online viewer (Image Viewer App - View & Print Images), and it show error “Oops! An error has occurred”. I tried create report use this dialog but no good result.
p.s. I attached problem file (1.tiff) and 1.pdf as result of convert. I use following code for convert:
try(TiffImage img = (TiffImage)Image.load(skStream,opt)){
PdfOptions exportOptions = new PdfOptions();
final PdfCoreOptions pdfCoreOptions = new PdfCoreOptions();
pdfCoreOptions.setJpegQuality(100);
exportOptions.setPdfCoreOptions(pdfCoreOptions);
exportOptions.setUseOriginalImageSize(true);
img.save(outPath, exportOptions);
}
example_tiff.zip (64.0 KB)
Thanks,
Evgeny.