File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Screen capture of web page? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Screen capture of web page?" Watch "Screen capture of web page?" New topic
Author

Screen capture of web page?

chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
Hi ,

I gone through the search for getting a screen shot of web page.

I got the below code for getting screen shot of window or desktop.

But in my case I need to capture web page given url as screen shot (or image).



Any help related to get screen shot of desired web page.

Thanks


---------------------<br />SCJP(1.4)With 95%<br /> <br />Do it Right and Forget it!
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8263

How about opening the page in a web browser then taking the screenshot.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
thanks for quick reply,

Is there any thoughts for able to do that.

Thanks
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8263

A google search for "java open web browser" returns such interesting results as this and this.
[ March 29, 2007: Message edited by: Joe Ess ]
chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
Hi ,

I got the solution for open webbrowser and capture screen shot of that webpage.

here is my code:


By using this code It is not capturing all the web page.

Please suggest me to achieve this.

Thanks
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Screen capture of web page?
 
Similar Threads
Is there a efficient way to take a screenshot in Java?
Taking screenshot of JSP page Using java
how do i capture screenshot via network in java swing
Capturing ScreenShot of the the Active Window
Java RMI - is that possible to take client Desktop screen shot who are browsing our application