When saving a docx file as a pdf, a background appears on the picture.
Attached file was worked as below.
- Code: Select all
Document doc = new Document();
doc.LoadFromFile("test2.docx");
doc.SaveToFile("test2.pdf", FileFormat.PDF);
After saving as PDF, each photo has a gray background that was not there before.
This issue does not occur when the file is directly opened in MS Word and saved as PDF.
What should I do?
------
Upon further checking, it seems that the contrast of the Format of each photo does not apply.
Is it just a bug?.