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

Free Support Forum - aspose.com

Horrible image quality when converting MHT to DOCX

Hi,

When we try to convert an MHT to DOCX the image quality is horrible.

This is our code:

new Aspose.Words.Document(@"E:\WordTest\6.mht").Save(@"E:\WordTest\6.docx");

MHT and DOCX are attached.

How can we keep the image quality the same as in the MHT when converting?

(a bug? there is a workaround? saving options?)

Thanks!

Hi Omri,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-13023. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi,

Any news?

This is a major problem for us.

Omri

Hi Omri,

Thanks for your inquiry. It is to inform you that issues are addressed and resolved based on first come first serve basis. Currently, your issue is pending for analysis and is in the queue. Once our product team completes the analysis of your issue, we will then be able to provide you an estimate.

Thanks for your patience and understanding.

Hi,
Any news?
Do you have a bug number?

This is a major problem for us.

Omri
Hi Omri,

Thanks for your inquiry. We regret to share with you that this issue (WORDSNET-13023) has been postponed. We will inform you via this forum thread as soon as there are any further developments.

We apologize for your inconvenience.

Hi,
Any news?

Omri
Hi Omri,

Thanks for your inquiry. We regret to share with you that this issue (WORDSNET-13023) is still postponed. The root cause of your issue has been identified. Aspose.Words doesn't support importing VML images from HTML at the moment. After the availability of this feature, our product team will look into your issue. We will update you via this forum thread once there is any update available on this issue.

We apologize for your inconvenience.

It’s been over a month. Any news?

Hi Omri,

Thanks for your inquiry. We regret to share with you that your issue has been postponed due to missing feature (Aspose.Words doesn't support importing VML images from HTML) which is related to your issue. Once this feature is available, our product team will look into your issue. We will inform you via this forum thread as soon as there are any further developments. The issue IDs related to missing feature are WORDSNET-6933 and WORDSNET-12705.

We apologize for your inconvenience.

Any news about this feature?

Hi Omri,

Thanks for your inquiry. We regret to share with you that your issue (WORDSNET-13023) is still postponed due to missing feature (Aspose.Words doesn't support importing VML images from HTML). However, we have asked for the ETA of this feature from our product team. As soon as any information is shared by them, we will be more than happy to share that with you.

We apologize for your inconvenience.

Do you have an ETA for this ETA? :slight_smile:

Hi Omri,

Thanks for your inquiry. Unfortunately, your issue is still postponed due to missing feature (Aspose.Words doesn't support importing VML images from HTML). We have not received any update from our product team about your issue. We will inform you via this forum thread once there is any update available on your issue and missing features (Aspose.Words doesn't support importing VML images from HTML).

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-13023) have been fixed in this Aspose.Words for .NET 16.11.0 update and this Aspose.Words for Java 16.11.0 update.


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

Hi,

I’ve tested it with .net 16.11.0 and still the same problem - image quality is horrible.

Hi Omri,

Thanks for your inquiry. Please use HtmlLoadOptions.SupportVml property as shown below to get the required output. This property specifies HTML parser to parse conditional comments exactly like and not to parse conditional comments exactly like .

We have attached the output document with this post for your kind reference.

HtmlLoadOptions options = new HtmlLoadOptions();

options.SupportVml = true;

Document doc = new Document(MyDir + "6.mht", options);

doc.Save(MyDir + "Out v16.11.0.docx");

Hi,

I can confirm that it works. THANKS!

Omri

Hi Omri,

Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.