41

I'm trying to save a webpage as an image. The web page I'm trying to save is a bit long, and has many images.

I tried Google Chrome Screen Capture Extension and few other Chrome screen-capture plugins, but all gave me an empty image as output.

How can I overcome this? Are there any other known plugins (non-Chrome is OK) to save a large web page as an image?

rtf
  • 12,826
Nalaka526
  • 1,624

13 Answers13

33
  1. In Chrome browser show Developer tools: Menu -> More tools -> Developer tools (F12 or Ctrl + Shift + I).

Show Devloper tools

  1. Then Menu -> Run command (Ctrl + Shift + P).

Run command

  1. Write down screenshot and use Capture full size screenshot.

Capture full size schreenshot

  1. (Optional) If the image does not contain full page, you can try to execute following command in console, to add some styling (as suggested in this thread).
document.querySelector("head").appendChild(Object.assign(document.createElement("style"), {textContent: "html, body, div, section {overflow: visible !important;}"}));

Add overflow:visible style to page header.

  1. (Optional) If some element overlaps the content you need, simply use Selection tool to select the element and then hide or delete it using context menu.

Select and delete the overlapping element

Otrozone
  • 481
20

Print to PDF, then save the PDF as an image. I think that's probably your most foolproof method.

Printing to PDF is straightforward and you've got a ton of options, conversion after the fact will maintain page layout.

Conversion answer here: How do I save an image PDF file as an image?

As a note: if you use the PDFCreator project available from http://www.pdfforge.org/ the option to print a PDF as an image, or to print as an image is native.

iivel
  • 1,380
12

The Firefox Abduction! add-on couldn't save an image that large. If you absolutely want to save an ultra-lengthy single image and are open to non-Chrome solutions, here are a few that might work:

  1. SiteShoter is a portable app:

    1

  2. There are any number of online web screenshot apps, such as this one

Karan
  • 57,289
11

There is a new Firefox Command Line that allows you to take screenshots.

Press Shift+F2 and write screenshot filename1.png 0 true

Unfortunately for your site I get error..., but nevertheless it's a nice to know feature .

UPDATE: It seems that syntax has slightly changed in newer version and now to take full screenshot you need to type screenshot filename.png --fullpage

7

Found this standalone (Portable App) : Web Screen Capture, which could successfully save the webpage as an image...

Thanks everyone answered... :), suggestions are really valuable and made me think in many ways to get this done. "Karan"s answer made me think of Standalone applications which I was not aware of... Thanks a lot.

Nalaka526
  • 1,624
5

You can use Awesome Screenshot:

  • Capture or clip selected area, or all visible portion, or entire page
  • Support PNG format
  • Support horizontal scroll when capturing
Indrek
  • 24,874
Bagata
  • 151
2

If I have correctly understand your question then it will surely your answer. You have the Snagit tool to capture whole screen.

c-sharp
  • 121
2

Another way to do this (in an automated fashion), would be to use Phantom JS, the headless WebKit web browser. An included example "technews.js" will "capture Google News as a PNG image" and that example could be modified for any website.

http://phantomjs.org/

Tal
  • 121
1

If you use Chrome, then you can try Explain and Send Screenshots

chele
  • 11
1

Use FireShot add-ons to save a large webpage to Image and PDF also.

It is supported on Firefox, Chrome and IE also.

To install in Firefox go to Tools -> Add-ons then search FireShot and install it.

More about Fireshot visit http://getfireshot.com/

Nalaka526
  • 1,624
0

I have tried a few things. Open the webpage in Chrome, then right click on an empty spot on the page and select "Save as", then select "save as type" "webpage,complete" at the bottom of the save as window.

Save it to an empty folder, it will save one file and a folder (they must be kept together in the same folder), any time you want to view the page, double click the htm file.

Inside the folder you will find all the images should you want them for other purposes.

.

enter image description here

Moab
  • 58,769
0

If you dont need the image the actual size, you could zoom out, then take a screenshot?

0

If i understand your question, what you want is capturing the whole website, am I right? Do the following:

  1. Open your favourite image editing program (I recommend Paint.NET), create a new canvas with a pretty big height, as high as the hole page would ever take
  2. Switch to the webpage, press PrtSc on your keyboard.
  3. Switch back to the image editing program , paste your image in the canvas.
  4. Switch to the webpage, scroll the window down until you've reached the end of the last printed image, and press Print Screen again.
  5. Switch back to your image editing program , now paste the New right underneath the previously pasted one, so that it starts from where the previous image Ended.
  6. Repeat the previous steps dozen of times until you have scrolled down to the bottom of the window.

it's a long solution , but it works.

Journeyman Geek
  • 133,878