Solved

Save browser content as an image?

Posted on 2004-10-12
5
996 Views
Last Modified: 2008-02-01
Hello,

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...

Thanks

Stephen
0
Comment
Question by:autoknowledge
  • 3
  • 2
5 Comments
 

Author Comment

by:autoknowledge
Comment Utility
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.

Thanks

Stephen
0
 
LVL 9

Expert Comment

by:Ovi
Comment Utility
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.
0
 
LVL 9

Expert Comment

by:Ovi
Comment Utility
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?
0
 

Author Comment

by:autoknowledge
Comment Utility
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.
0
 
LVL 9

Accepted Solution

by:
Ovi earned 500 total points
Comment Utility
That should be able to obtain too, without too much big problems.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

15 Experts available now in Live!

Get 1:1 Help Now