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

Free Support Forum - aspose.com

SaveToPdf causes images to disappear

When I try to save the attached document to PDF one of the embedded images is missing.

To test, save the attached image as input.docx in the same directory as the test.

Aspose.Words assembly version:


John Hinke

using System;
using Aspose.Words;
using Aspose.Words.Drawing;

namespace Test {

class ImageBug {

public static void Main() {

try {
Document doc = new Document("input.docx");
doc.SaveToPdf(0, 1, "test.pdf", null);
} catch (Exception e) {
Console.Error.WriteLine("Error: " + e.Message);


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. 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 resolved.

Best regards,

The issues you have found earlier (filed as 11679) have been fixed in this update.

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