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

Free Support Forum - aspose.com

HTML to Tiff

We are having ASPOSE total product family 16.11.1 license. Using this we can convert HTML to PDF and then PDF to TIFF. Do we have any way that we can convert directly HTML to TIFF ?


Yes, you can convert HTML to TIFF directly using Aspose.Words API. You may use the following code snippet to achieve the task.


        Aspose.Words.Document doc = new Aspose.Words.Document(@"in.html");
        doc.Save(@"out.tiff", Aspose.Words.SaveFormat.Tiff);


Thanks for contacting support.

Adding more to above reply from Ikram, you may also convert HTML to TIFF using Aspose.HTML for .NET API. Please consider following code snippet, in order to achieve the functionality.

Aspose.Html.Rendering.Image.ImageRenderingOptions rendering_options = new Aspose.Html.Rendering.Image.ImageRenderingOptions();
// Instantiate ImageDevice object while passing ImageRenderingOptions and resultant file path as arguments
using (Aspose.Html.Rendering.Image.ImageDevice image_device = new Aspose.Html.Rendering.Image.ImageDevice(rendering_options, dataDir + "SampleHtml.tif"))
// Create HtmlRenderer object
using (Aspose.Html.Rendering.HtmlRenderer renderer = new Aspose.Html.Rendering.HtmlRenderer())
// Create HtmlDocument instance while passing path of already created HTML file
using (Aspose.Html.HTMLDocument html_document = new Aspose.Html.HTMLDocument(dataDir+ @"SampleHtml.html"))
  // Render the output using HtmlRenderer
  renderer.Render(image_device, html_document);

In case of any further assistance, please feel free to let us know.

Thanks, we are having version 16.11.1. Please advise accordingly . ASPOSE HTML for .net is not available for 16.11.1

and in 16.11.1 Aspose Word for.net there is issue with code below

    Aspose.Words.Document doc = new Aspose.Words.Document(@"in.html");
    doc.Save(@"out.tiff", Aspose.Words.SaveFormat.Tiff);


You are using very old version of Aspose. It is always recommended to use latest version of the APIs as the latest version contains new features and fixes of bugs reported by other customers. Please try the latest version of the API at your end. Feel free to contact us in case of any query or comments.

I am looking for a way to convert a single sheet HTML page (very simple straight-up formatting, a few frames, etc) to a TIFF image. The application can be either VB.net or VBS, although I would much prefer .NET. Can anyone recommend a good API with which to do this, or if that doesn’t exist, a good (read: RELIABLE, this is time critical) program or service that will make the conversion? I don’t care if it polls or if I have to poll and call the executable, this part of the project is still very open ended.


Thank you for contacting support.

You may convert a HTML file to a TIFF image with Aspose.HTML for .NET, Aspose.Words for .NET as well as with Aspose.PDF for .NET. You may visit HTML to TIFF Conversion which explains the conversion with Aspose.HTML for .NET API, or use below code to convert the file with Aspose.Words for .NET API.

Aspose.Words.Document doc = new Aspose.Words.Document("input.html");

In order to convert it using Aspose.PDF for .NET API, HTML file can be converted by rendering it to PDF format and then PDF to TIFF format as explained in following documentation articles.

We hope this will be helpful. Please feel free to contact us if you need any further assistance.