• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

capture image

 
santhoshkumar samala
Ranch Hand
Posts: 156
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we capture an html page in javascript so as to save the page as an image using javascript.
For example ;
if i am visiting a site http://www.javaranch.com i want to save the whole page as an image. How can we do it. Please help me. Thanks a lot.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can capture the screen as an image by using your printscreen key...
You can hit cntrl printscreen or printscreen or function printscreen (depends on computer) and it will copy it to the clipboard.
If you want to have the page, you can just goto file save as....
Eric
 
santhoshkumar samala
Ranch Hand
Posts: 156
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you eric
but my problem is I have to capture the image using javascript programming
for example: we capture screen height and width like that can we capture screen and save it as an gif file
please help
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not capture it with JavaScript. JavaScript has nothing like that...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic