Hi,
I’ve got a word document with a png image inside.
I need to create a pdf, with low resolution images, from that document.
I’ve attached a sample document and this is my code:
Document doc = new Document(source);
Aspose.Words.Saving.PdfSaveOptions SaveOpt = new Aspose.Words.Saving.PdfSaveOptions();
SaveOpt.ImageCompression = Aspose.Words.Saving.PdfImageCompression.Jpeg;
SaveOpt.JpegQuality = 100;
doc.Save(output, SaveOpt);
The problem is that all my png images in pdf have a weird black background.
How can I solve this problem?
Thanks,
Devid