We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Docx to PDF conversion- not rendering image backgrounds correctly

Hi,


I’m using the latest Aspose Words Java lib v14.4.0, trying to convert the attached word doc to PDF and I get a weird turquoise color background on the title page when converting.

I’m using the following conversion code (its Scala);

def convertDocument(is: InputStream) {
log.debug(“Attempting to convert Word document to Pdf.”)
doc = new Document(is)
val os: PipedOutputStream = new PipedOutputStream()
val data: PipedInputStream = new PipedInputStream(os)
doc.save(os, SaveFormat.PDF)
os.close()
log.debug(“Finished converting Word document to pdf.”)
}

I’ve also attached the output PDF so you can see the title page image color issue.

Cheers,
Nathan

Hi Nathan,

Thanks for your inquiry.

I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSJAVA-883. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSJAVA-883) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.