-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
screenshot #204
Comments
Thanks for the notes @robert-1043 ! It's very possible the pixel size information for the |
I had to take the images out of the warc file, then in any app that indicates pixel sizes (Windows properties / Photoshop / Metadata++). Have tried to edit the pixel information in the file itself, but no luck with that. |
Thanks for the clarification! It looks like puppeteer is setting the pixel sizes in the image metadata according to what the initial display viewport is set at, hence the incorrect value for the height with full page screenshots. I believe simply not setting an initial viewport for full page screenshots should resolve the issue - thanks for pointing this out! |
@robert-1043 can you try from this branch and see if you still have the issue? https://github.com/webrecorder/browsertrix-crawler/tree/full-page-screenshot-pixel-metadata-fix |
I've been testing the new screenshot function.
It seems that the view-thumbnail-fullPage option generates each time a 1920x1080px image. Although file size between view and fullPage is remarkable (300kB vs 1MB).
Could it be the pixel size information on the fullPage image isn't correct?
Also had some differences in image content, does screenshot wait for the page to load?
The text was updated successfully, but these errors were encountered: