Discussions
Web tier: servlets, JSP, Web frameworks: How to convert a web page to tiff Image (HTML to TIFF)
-
How to convert a web page to tiff Image (HTML to TIFF) (3 messages)
- Posted by: null
- Posted on: June 07 2008 18:53 EDT
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.Threaded Messages (3)
- Re: How to convert a web page to tiff Image (HTML to TIFF) by Jyothish John on June 09 2008 10:23 EDT
- HTML Snapshot by robbie smith on June 30 2008 03:33 EDT
- How to overcome the javascript exception when using HtmlUnit? by Prasanna Bale on July 01 2008 12:36 EDT
-
Re: How to convert a web page to tiff Image (HTML to TIFF)[ Go to top ]
- Posted by: Jyothish John
- Posted on: June 09 2008 10:23 EDT
- in response to null
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 . -
HTML Snapshot[ Go to top ]
- Posted by: robbie smith
- Posted on: June 30 2008 03:33 EDT
- in response to null
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: http://sharewarecheap.com/HTML-Snapshot_software_1464.html -
How to overcome the javascript exception when using HtmlUnit?[ Go to top ]
- Posted by: Prasanna Bale
- Posted on: July 01 2008 12:36 EDT
- in response to robbie smith
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=[http://www.google-analytics.com/urchin.js] line=[439] lineSource=[null] lineOffset=[0] What should I do to avoid this exception? Thanks, Prasanna