Hi,
When converting a DOCX to PDF using PdfA1b compliant, I noticed some transparent PNG images became non-transparent in the Aspose PDF.
Note that this issue does not happen if I saved the DOCX to PDF with PdfA compliant using Word.
Code:
var doc = new Document(@".\test.docx");
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
var options = new PdfSaveOptions() { Compliance = PdfCompliance.PdfA1b };
doc.Save(@".\AsposeOutput.pdf", options);
Please note that we are using PdfA1b because we had to work around another issue where using Pdf15/17 made the PDF page not editable (PDF is not Editable | DOCX to PDF Conversion using .NET ).
I’ve attached my test files and an example output from Word ‘save as’ for your reference. Could you please help me take a look?
test.zip (99.6 KB)
Thanks,