How to save as image from a web page


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to save as image from a web page
# 8  
Old 03-31-2009
It's not even that it's not a standard image format -- it's that its calculated and rendered by javascript on load time! Imagemagick won't be able to touch that. Screen capture would work but would be annoying to automate. You'd almost do better to extract the equations and render it yourself...
# 9  
Old 04-01-2009
Well, this might be out there but what I was hoping to do with the image-capture (using imagemagik) is have a remote user create the graph client side. Then if they want to save the graph, they click a button which sends the information back to the server and runs a script that launches a web browser and goes to a url that reads in the saved data. Then the imagemagik window capture will execute to output an image of the graph, which the user can then download...this is why I was saving it for last resort. Is it possible to take a screen shot of a window on a remote server?
# 10  
Old 04-01-2009
Quote:
Originally Posted by vincaStar
Well, this might be out there but what I was hoping to do with the image-capture (using imagemagik) is have a remote user create the graph client side.
Hm. At that point, the client will already have the data. When you right-click on the image and select 'view image' you will find the web browser interprets it as a data:// URL -- the image entire is encoded in the URL itself. If you can extract that URL, or at least copy/paste it, you've got the image.
# 11  
Old 04-01-2009
Never mind. The data:// URL is just a blank white 300x500px image.
# 12  
Old 04-01-2009
Perhaps you can get xsnap working. I've posted a generic x86 version here, converted to tar.gz from an rpm. You don't need to actually install it to use it, just extract it somewhere and run the xsnap binary in it, it'll let you draw a square on the screen, which'll then pop up as a new window. right-click on the new window and it'll let you save it as png.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to scrape page for and save data

Hi All I would like to get cars DB from this web site link removed , and I am trying to right script to go and parse the web page and save the data for each cars into a file, type of cars, mark, model, but when I look to the source page I found out that the first car type is preselected and the... (3 Replies)
Discussion started by: molwiko
3 Replies

2. Shell Programming and Scripting

Download dynamic generated image from HTML page

I've an HTML page where the pie chart is generated with google java code with the required input values in UNIX. The HMTL page is generated in UNIX and then when it loads in browser, the code is interpreted thought internet and the pie chart is generated. This is done by the java code in the... (4 Replies)
Discussion started by: Amutha
4 Replies

3. Shell Programming and Scripting

Open Page and save it using mozilla

HI Guys, I have one command which can open page and i want to save and exit from it. pf@home> mozilla 181.131.193.10/g/report.txt It will open one page now how can i save it. Thanks (1 Reply)
Discussion started by: pareshkp
1 Replies

4. Shell Programming and Scripting

Save page source, including javascript

I need to get the source code of a webpage. I have tried to use wget and curl, but it doesn't show the necessary javascript part of the source. I don't have to execute it, only to view the source. How do I do that? (1 Reply)
Discussion started by: locoroco
1 Replies

5. AIX

nmon and web page !

nmon and web page ! Is there any way to let nmon be configured with external Web Page and updating the same web page to be graphic monitoring. Pls advice ... (1 Reply)
Discussion started by: Mr.AIX
1 Replies

6. Shell Programming and Scripting

background image not loading in newly thrown html page by shell script

I m trying to throw back html page when a file is found.While throwing back html page, the background image is not coming. I am using Apache server.Please suggest how to resolve... #!/bin/ksh echo -e "Content-type: text/html\n\n" echo "<html><head></head><body background=\"/asc/ppp.jpg\">"... (10 Replies)
Discussion started by: ravi18s
10 Replies

7. Shell Programming and Scripting

File to web page

Hi all, I am having an XML file. And as per requirement I need to map fields of this file with various field of web page. So how can I use wput command into it ? Regards, gander_ss (3 Replies)
Discussion started by: gander_ss
3 Replies

8. UNIX for Dummies Questions & Answers

making a web page

Hey im new to unix! I am tryin to create a web page in unix and have done it all but when i try and load it it says permission denied!?> i have chmod a+rx for folder and file to make sure but still permissions wont let me?! any ideas can anyone do a quick run through of how to make a web page... (4 Replies)
Discussion started by: shashora
4 Replies
Login or Register to Ask a Question