How to convert a web page to tiff Image (HTML to TIFF)


Web tier: servlets, JSP, Web frameworks: How to convert a web page to tiff Image (HTML to TIFF)

  1. Hi, I am looking for a JAVA API that can be used to convert a web page to tiff image? The tool should take the URL of the web page and convert it to a tiff image. Any inputs or help is appreciated. Thank You.
  2. Hi ; I dont have the patience to try this. But I think this such an approach should work. Set the html.URL into an invisible JEditorPane. Create a new Image , and pass the Graphics object of the image to the paint method) of the JEditorPane. Now you have the html being painted to the Graphics object of the image. I havent tried something like this,can't see a reason why it should not work .
  3. HTML Snapshot[ Go to top ]

    HTML Snapshot is what u're looking for. It can capture the whole web page as JPG, BMP, PNG, TIFF and GIF image. more details:
  4. Hello, We are using html unit in our project to test the web pages. When I am trying to test some pages I am getting a javascript exception as : ERROR [main] JavaScriptEngine: runtimeError: message=[ActiveXObject Error: no value for ShockwaveFlash.ShockwaveFlash.7.] sourceName=[] line=[439] lineSource=[null] lineOffset=[0] What should I do to avoid this exception? Thanks, Prasanna