Skip to content
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

clip size can override user-requested size for fullsize screenshot #75

Open
j-h-a opened this issue May 23, 2014 · 0 comments
Open

clip size can override user-requested size for fullsize screenshot #75

j-h-a opened this issue May 23, 2014 · 0 comments
Milestone

Comments

@j-h-a
Copy link

j-h-a commented May 23, 2014

Description
Output image is too big when user-requested size is smaller than internally grabbed image size.

To reproduce

webkit2png -W 800 -H 480 http://localhost:8080 -F

Expected behaviour
Output image should be 800x480

Actual behaviour
Output image is 800x600.

Proposed Solution
If user-requested fullsize grab is smaller than the internally grabbed size (if grabbed size is expanded to ensure the clipped thumb has enough content) then the final output for the fullsize image should be cropped to the user-requested size.

Workaround
Until fixed, users can add --scale=1 (in cases where clipped thumb is not wanted).

@paulhammond paulhammond added this to the v1.0 milestone Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants