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

Free Support Forum - aspose.com

Converting .htm and .html files to tiff files

Hi,

When i tried to convert .htm to tiff file i am getting the below mentioned errors:-

1) The textboxes in the .Htm files are not getting displayed.

2)Instead of displaying buttons it is just displaying the text.

Can you guys please help me out to resolve this.

Please find the attached files

Thanks & Regards,

Brijesh

Hi

Hello

Thanks for your interest in Aspose.Words. How can I help you?

Best regards,

Hi,

How can i convert .htm file to a tiff file using Aspose.

I tried to convert the attached .htm file to tiff but the textboxes and buttons in the .htm file are not getting displayed.

Could you please help me in converting the attached .htm file to tiff.

Thanks & Regards,

Brijesh

Can we convert .htm file to tiff using Aspose?

Hello

Thanks for your request. Let me clarify; if you try converting your document to DOC format using the code below, you will see that your <input type='text' /> and <input type='submit'/> are converted to FORMTEXT and MACROBUTTON – it is expected behavior. After converting your HTML to TIFF, you should see MACROBUTTON as [Submit] – it is expected behavior too. You do no see FORMTEXT because it is empty and it is expected.

It is extremely difficult and often impossible to produce image which looks exactly as source HTML. HTML is designed for Web and not for displaying as image.

Document doc = new Document("C:\\Temp\\in.htm");

doc.Save("C:\\Temp\\out.doc");

doc.Save("C:\\Temp\\out.tif");

Best regards,

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


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