aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes capture image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "capture image" Watch "capture image" New topic
Author

capture image

santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

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.


santhosh<br />SCJP,SCWCD
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Nov 12, 2003
Posts: 156

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

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can not capture it with JavaScript. JavaScript has nothing like that...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: capture image