Very low image quality

Dear Team ,
I am using aspose latest jar to convert doc to html . After conversion the image quality is too poor compare with older jar. I have attached doc with this post .Do we have any methods like doc.SaveOptions.HtmlExportImageResolution = 200; to improve quality in latest jar ?

Regards,
Anbu.S

Hi
Thanks for your request. Sure you can achieve this. Please see the following code:

Document doc = new Document("C:\\Temp\\input.doc");
HtmlSaveOptions opt = new HtmlSaveOptions(SaveFormat.HTML);
opt.setImageResolution(200);
doc.save("C:\\Temp\\out.html", opt);

Hope this helps.
Best regards,

Dear Alexey,

Still i can not able to get good quality of pics even after setting ’ HtmlExportImageResolution=800 ’ . Is this not producing on your side ? Am i doing anything wrong ? Just try the above attached document .

Regards,
Anbu.S

Hi
Thanks for your request. I converted the document to HTML and specified 300dpi resolution. As I can see, the image looks acceptable. I also converted the same document to HTML using MS Word and see that the image does not look better in HTML produced by MS Word.
Best regards,

Dear Alexey,

Thanks for your reply. I tried the same in older version without setting the image resolution ,the image quality is good as expected .

Regards,
Anbu

Hi Anbu,
Thanks for your request. Could you please attach both HTML documents and images? I will check and provide you more information.
Best regards,

Hi Alexey,

I am trying to convert Doc to Html . I have already uploaded document. I will upload converted html and image with this post .

HTML:

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta name="generator" content="Aspose.Words for Java 10.0.1.0" />
    <title></title>
</head>
<body>
    <div><p style="margin:6pt 0pt"><img src="out.001.png" width="175" height="141" alt="" style="float:left; margin:0pt 9.05pt" /></p></div>
</body>
</html>

Regards,

Anbu

Hi Anbu,
Thank you for additional information. But you still did not attach your images. This is what I asked for. I would like to compare the images produced on your side and on my side.
Best regards,

Dear Alexey,
Sorry . Will attach image with this post .

Thanks,
Anbu

Hi Anbu,
Thank you for additional information. I attached HTML produced on my side using the following code:

Document doc = new Document("C:\\Temp\\input.doc");
HtmlSaveOptions opt = new HtmlSaveOptions(SaveFormat.HTML);
opt.setImageResolution(300);
doc.save("C:\\Temp\\out.html", opt);

As you can see my image looks much better than yours.
Best regards,