Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Full screenshot of long page is incomplete #5428

Open
upsuper opened this issue Apr 2, 2020 · 2 comments
Open

Full screenshot of long page is incomplete #5428

upsuper opened this issue Apr 2, 2020 · 2 comments

Comments

@upsuper
Copy link

upsuper commented Apr 2, 2020

For example, open https://html.spec.whatwg.org/ wait it to fully load, and try to take the full page screenshot of this page.

On my machine, it only gets to section 1.4, but the page is apparently much longer than that.

I'm on Firefox 74, and Ubuntu 19.10.

@jaredhirsch
Copy link
Member

Screenshots uses a single canvas to capture screen contents, so the height is limited to the height of a canvas, around 32k pixels.

@upsuper
Copy link
Author

upsuper commented Apr 4, 2020

Is it possible to capture the content into multiple images to overcome this limitation? That would probably be enough for many people.

(And with that data available, the next step could be to compile an image concatenater to wasm and run it to generate the final image.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants