I am having problems with converting Word-Documents to PDF using Aspose Words for JAVA.
The Word-Documents contain PNG-Images with transparent background.
But within the created pdf document the images have a white background. Please see the attached Word- and PDF-File.
The code to reproduce it is very simple:
FileInputStream fin = new FileInputStream(“C:/temp/transparency.docx”);
com.aspose.words.Document asposeDoc = new com.aspose.words.Document(fin);
PdfSaveOptions options = new PdfSaveOptions();
FileOutputStream fout = new FileOutputStream(“C:/temp/transparency.pdf”);
I could reproduce this issue with the latest Version 16.11 of Aspose Words for JAVA.
Could you please check it?
Thanks in advance.
Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word. If you convert your document to Pdf with PDF/A compliance, you will get the same output. Please use PdfCompliance as PDF_15 to fix this issue.
thank you very much for your response.
Are there any plans at your side to support the PDF/A-2 Format ?
This format allows transparent images.
Thanks in advance
Thanks for your inquiry. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we have logged this feature request as WORDSNET-5971 in our issue tracking system. You will be notified via this forum thread once this feature is available.
We apologize for your inconvenience.
A post was split to a new topic: PDF/A-3 format and A-2 transparency