In Firefox I can create a fullpage screenshot when I go to the web developer toolbar (can be activated in the developer tool settings). Unfortunately, I can do this only with the default resolution. Is there a chance to get images of higher resolution anyhow? With Firefox or an add-on? Or is it possible in another browser?
For the screen resolution, go to Display Settings > Display Resolution. Choose the recommended native resolution. Ensure that Windows can fix apps so that they are not blurry by going to Display Settings > Advanced Scaling Settings > and toggle on “Let Windows try to fix Apps….”
To take a screenshot, either use the Firefox Screenshots feature or else follow the directions given below to create a screenshot on your computer, iOS device or Android device.
In Firefox 62 and following, the GCLI was removed and the screenshot command was moved to the Web Console and prefixed with a colon.
To take a screen shot at 4 times the native screen resolution, open the web console (Tools
-> Web Developer
-> Web Console
or CtrlShiftK, CmdOptionK on Mac) and type:
:screenshot --dpr 4
The file name is now optional and the console will tell you where the file was saved (typically in 'Downloads' with a system-specific naming scheme).
Additional parameters are available, see the Web Console documentation and Erik Meyer's blog post for more.
An additional note: large DPR values don't always work. There seems to be a limit around 120 megapixels. Larger screenshots will simply not complete and do nothing, silently. If the command does nothing for you, try lowering the dpr or resizing the window, until you get something out.
In Firefox, I use these tricks :
body {
zoom: 4; /* change zoom factor here... */
-moz-transform: scale(4); /* ...and here. */
-moz-transform-origin: 0 0;
}
screenshot --fullpage
// or, directly into the clipboard instead of a png in the download folder
screenshot --fullpage --clipboard
You can also play with the Tools > Web Developer > Responsive Design View (or Ctrl+Shift+M) which allows you to specify custom resolutions and have a nifty button to take the screenshot, but zoom still has to be done manually.
Beware when choosing the zoom factor : Firefox gets grumpy if you try to generate a PNG too big. In very high resolution, you will have to drop the --fullpage option, screenshot fragment by fragment and reassemble in your image editor.
Ref:
got the first trick from How can I scale an entire web page with CSS? : it seems Firefox still has issues with the zoom CSS rule so the -moz-*
rules still have to be added, at least until version 38. If this gets corrected in future versions, just specify zoom: NN;
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With