Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Save browser content as an image?

Posted on 2004-10-12
5
Medium Priority
?
1,020 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Author Comment

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

Thanks

Stephen
0
 
LVL 9

Expert Comment

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

Expert Comment

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

Author Comment

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

Accepted Solution

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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

597 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