Error when converting to PDF: Insufficient data for an image

We have some Word documents containing a JPEG image in the header. Now while this works for some, we have one template from a customer where the conversion to PDF succeeds, but when opening the file in Acrobat Reader, we always get “Insufficient data for an image.” and this image cannot be displayed.

I’ve attached such a template and the generated PDF producing that error in Acrobat Reader.

Is there a problem with the image, though it displays correctly in Word…?

Thanks

Matt

Hello

Thanks for your request. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed. This problem does not occur in .NET version of Aspose.Words. Currently we are working on synchronizing Java and .NET versions of Aspose.Words. Once we finish this work all functionality which is supported in, NET version will be supported in Java version. Also you should note, converting to PDF is in beta at the moment. I will notify you as soon as converting to PDF in Aspose.Words for Java is out of beta.
Best regards,

We are happy to inform you that the first auto-ported version of Aspose.Words for Java is ready. This version supports converting documents to PDF. You can get it from here.

Best regards,
Aspose.Words team

(131)