permaculture playing cards
The moose likes HTML, CSS and JavaScript and the fly likes Re:possible to convert html into .gif/.jpeg file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Re:possible to convert html into .gif/.jpeg file?" Watch "Re:possible to convert html into .gif/.jpeg file?" New topic

Re:possible to convert html into .gif/.jpeg file?

sunil kumre
Ranch Hand

Joined: Dec 23, 2000
Posts: 64
can we write a file using HTML tags which includes a .gif or .jpg image(associating this image with onClick event)and store this file as either .gif or.jpg?
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
You mean that you want to store the output version of your HTML page as a .GIF? I don't know of any way to do this using HTML or JavaScript. Maybe you could do it through a JApplet if you used a JEditorPane to display the contents of your HTML page? Then there is the easy way, you could always use a screen shot...
erich brant
Ranch Hand

Joined: Sep 27, 2000
Posts: 246
You can take a picture of the webpage with gimp or
paint shop pro..

paint shop pro:
menu-> capture-> setup-> window->hotkey-> include cursor->
and ok and capture!

Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4351

As Bodie mentioned, the "print screen" key is very handy.

Visit my download page
I agree. Here's the link:
subject: Re:possible to convert html into .gif/.jpeg file?
It's not a secret anymore!