Word / Excel lost transparent image after converting PDFA1

After saving docx/xslx in pdf with PdfA1a image in pdf lost transparent

Excel:

var opt = new Excel.PdfSaveOptions();
opt.Compliance = Excel.Rendering.PdfCompliance.PdfA1a;
doc.Save(outputTmp, opt);

Word:

var opt = new Word.Saving.PdfSaveOptions();
opt.Compliance = Word.Saving.PdfCompliance.PdfA1a;
doc.Save(outputTmp, opt);

Test.zip (228.8 KB)

@PoweRDeaD

We are forwarding the inquiry to Aspose.Total Forum where you will be assisted shortly.

@PoweRDeaD The problem occurs be cause PdfA1 compliance does not support transparency. Please consider using PdfA2 compliance instead:

Document doc = new Document(@"C:\Temp\in.docx");
PdfSaveOptions opt = new PdfSaveOptions();
opt.Compliance = PdfCompliance.PdfA2a;
doc.Save(@"C:\Temp\out.pdf", opt);

PdfA1 is obsolete: PDF/A-1 have significant limitations which are removed in PDF/A-2.

@PoweRDeaD,

As @alexey.noskov mentioned, PDFA1 compliance does not support transparency, so please consider PDFA2 compliance instead. Please try the following sample code, and it works as expected as I tested.
e.g.,
Sample code:

Workbook workbook = new Workbook("e:\\test2\\test.xlsx");
var opt = new Aspose.Cells.PdfSaveOptions();
opt.Compliance = PdfCompliance.PdfA2a;
workbook.Save("e:\\test2\\out1.pdf", opt);

Let us know if you still have any issue or queries.