Save browser content as an image?

Posted on 2004-10-12
Last Modified: 2008-02-01

I have an JSP page with images and text. can I save the page content (whatever in that browser) as an image as if I hit Ctrl-PrintScrn. I just want the content in that browser though vs the entire screen. After saving it as an image, ideally I want to be able to lauch MS PowerPoint with the image paste on the slide. So what I am after is on my JSP there will be a button that says "Save this page as an image and open it from PowerPoint". Hope I am making sense here...


Question by:autoknowledge
  • 3
  • 2

Author Comment

ID: 12302687
Well, I just want to know if it is possible to do such a thing and if any of you experts could give me some pointers to any relevant reading that would be great.



Expert Comment

ID: 12356864
Can be realised if you have an signed applet embed in that page. In the applet (which can contain the "Save page as image" button) you will have to use java.awt.Robot to take the screenshot. Once you have the screenshot as Image or BufferedImage object, saving to a file will be peace of cake.

Hope this helps.

Expert Comment

ID: 12356874
Launching the MS PowerPoint, could be done from the same applet by using the Runtime class to launch the external process. The image could be saved in a temporary directory and passed as argument in the launch command. My question is what you'll do if your user does not have MS PowerPoint installed?

Author Comment

ID: 12413284
I am actually more after saving the content of the browser as an image. After they have the image they  can do all they want including opening the image in MS PowerPoint.

Accepted Solution

Ovi earned 500 total points
ID: 12418670
That should be able to obtain too, without too much big problems.

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Export JSON response data to Excel in IE9 3 73
console vs log file 16 79
caughtSpeeding java challenge 16 136
Java Exception example issues 11 84
Learn how the use of a bunch of disparate tools requiring a lot of manual attention led to a series of unfortunate backup events for one company.
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now