Converting .html to .jpg

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Hans L
Posts: 156
Joined: Tue Mar 03, 2009 6:12 pm

Re: Converting .html to .jpg

Post by Hans L »

Well, the Word route did not work, because when I paste into a Word 2010 file, only the text and the pie charts are pasted, not the bar charts. Some glitch in the Google software. Incredible that it is still a glitch. Must have been there quite a while.

When I copy the scrolling htm window with Snag It, saved the 'snagged" file as jpg, and then open this file in XnView, I have one of those narrow, long images on the screen (Properties: widht = 6646, height = 22866. I can zoom, of course, but if I try to change the Size, nothing happens. (I would like to have the image bigger so that people who look at it later do not have t o zoom. Don't know if making bigger also means less resolution.)

Regards,

Hans L
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Converting .html to .jpg

Post by XnTriq »

I was hoping the diagrams/charts would somehow be converted and show up in the dowloadable format as in this PDF file: Record Lectures Google Summary.pdf

As Drahken said, capturing (or archiving) webpages can be tricky business, and it's especially difficult when you're dealing with the non-static HTML of these rich dynamic AJAX applications which exceed the browser's viewport.

A workaround I sometimes apply is to visit the page in question with Internet Explorer, hightlight (select) the portion of the page I'm interested in and go to the print preview. This makes IE dump the HTML of that particular section of the page into the %TEMP% folder (C:\Documents and Settings\{username}\Local Settings\Temp\) of your system. I then copy the .htm file(s) to the desktop and open them in a new IE window. This may not work with spreadsheets of the Google Docs kind, though :-|
Hans L
Posts: 156
Joined: Tue Mar 03, 2009 6:12 pm

Re: Converting .html to .jpg

Post by Hans L »

What I have done that is successful is to open the chart page in question in Google Docs and then do a PrtScr for each section that I want. I then open the resulting files with XnView and crop as needed. Then, I open a Word file and import all the resulting files in order. A little work, but it is not bad.

From Wikipedia:

"The term Ajax was coined on 18 February 2005 by Jesse James Garrett in an article entitled "Ajax: A New Approach to Web Applications", based on techniques used on Google web pages [my bolding]."

Regards,

Hans L
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Converting .html to .jpg

Post by XnTriq »

At the risk of beating a dead horse — I did a Google search for site:docs.google.com inurl:spreadsheet and am curious if this the kind of document we're talking about:
If you right-click in the “Sally Smith” part of the page, you can choose This Frame » Show Only This Frame in Firefox's context menu. To have the charts in a separate windows may be more convenient for making screenshots.
Hans L wrote:Now, if I can just transfer my vry useful toolbars in Word 2000 to Word 2010, I will be a very happy person.
User avatar
Drahken
Posts: 884
Joined: Sun Apr 10, 2005 4:29 pm

Re: Converting .html to .jpg

Post by Drahken »

Hmm... Wait a minute... What is the end result format that you are seeking for this? You say you're trying to get a JPG of the page, but then you mention creating PDF files. Are you planning to distribute the screenshot of the page in a PDF file? If that's the case, then there are ways to do it which would be infinitely easier & probably more accurate & successful. Install a print to PDF driver, then go to the webpage & use your browser's print function, but choose the PDF printer instead of the physical printer, you'll get the page as a PDF file, and it should be the complete page.

Here's a screenshot using this method that I made a long long time ago: http://allspark.net/cypherswipe/Tv-Links.pdf
another example: http://allspark.net/cypherswipe/anime-1b.pdf
Oh the feuhrer, oh the feuhrer, oh the feuhrer's nipples bonk!
Hans L
Posts: 156
Joined: Tue Mar 03, 2009 6:12 pm

Re: Converting .html to .jpg

Post by Hans L »

XnTriq wrote:At the risk of beating a dead horse — I did a Google search for site:docs.google.com inurl:spreadsheet and am curious if this the kind of document we're talking about:
If you right-click in the “Sally Smith” part of the page, you can choose This Frame » Show Only This Frame in Firefox's context menu. To have the charts in a separate windows may be more convenient for making screenshots.
Hans L wrote:Now, if I can just transfer my vry useful toolbars in Word 2000 to Word 2010, I will be a very happy person.
No, it is not exactly the Sally Smith document. In the Google Document spreadsheet compilation of responses, there is a menu, and one option called "Form (#)", where "#" is the number of responses. If you click on that option, and, in the resulting pull-down menu, you click on Show summary of responses, you get the chart document I am talking about.

Thank you very much for the toolbar references.

Hans L
Hans L
Posts: 156
Joined: Tue Mar 03, 2009 6:12 pm

Re: Converting .html to .jpg

Post by Hans L »

Drahken wrote:Hmm... Wait a minute... What is the end result format that you are seeking for this? You say you're trying to get a JPG of the page, but then you mention creating PDF files. Are you planning to distribute the screenshot of the page in a PDF file? If that's the case, then there are ways to do it which would be infinitely easier & probably more accurate & successful. Install a print to PDF driver, then go to the webpage & use your browser's print function, but choose the PDF printer instead of the physical printer, you'll get the page as a PDF file, and it should be the complete page.

Here's a screenshot using this method that I made a long long time ago: http://allspark.net/cypherswipe/Tv-Links.pdf
another example: http://allspark.net/cypherswipe/anime-1b.pdf
I did what you suggested, and got, for instance, an empty page in the middle of the .pdf document. I'm telling you, this must be Google's absolutely worst web page format ever (they are usually good, but this time, they bombed). There are many more bad things with this survey software as well.

Regards,

Hans L
Post Reply