HTML to Image .tiff File

前端 未结 2 1671
清酒与你
清酒与你 2021-01-20 18:22

Is there a way to convert a HTML string into a Image .tiff file?

I am using C# .NET 3.5. The requirement is to give the user an option to fact a confirmation. The co

相关标签:
2条回答
  • 2021-01-20 18:28

    Here are some free-as-in-beer possibilities:

    You can use the PDFCreator printer driver that comes with ghostscript and print directly to a TIFF file or many other formats.

    If you have MSOffice installed, the Microsoft Office Document Image Writer will produce a file you can convert to other formats.

    But in general, your best bet is to print to a driver that will produce and image file of some kind or a windows meta-file format (.wmf) file.

    Is there some reason why you can't just print-to-fax? Does the third-party software not support a printer driver? That's unusual these days.

    0 讨论(0)
  • 2021-01-20 18:43

    A starting point might be the software of WebSuperGoo, which provide rich image editing products, cheap or for free.

    I know for sure their PDF Writer can do basic HTML (http://www.websupergoo.com/helppdf6net/source/3-concepts/b-htmlstyles.htm). This should not be too hard to convert to TIFF.

    This does not include the full HTML subset or CSS. That might require using Microsofts IE ActiveX component.

    0 讨论(0)
提交回复
热议问题