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

Screenshots stored as JPEG but the url ends in .png #33

Open
gka opened this issue Mar 10, 2019 · 1 comment
Open

Screenshots stored as JPEG but the url ends in .png #33

gka opened this issue Mar 10, 2019 · 1 comment

Comments

@gka
Copy link

gka commented Mar 10, 2019

When I create screenshots using the /worker/:id/screenshot.json endpoint the API returns a url to a PNG image which in fact is a JPEG image. Is there a way to return a real PNG image? I was planning to use the screenshot for automatic frontend testing (using pixel matching) and would rather not have JPEG compression artefacts in the screenshots.

example response: https://s3.amazonaws.com/testautomation/54f41127df9733579bb00bf009cda30b3295cbfa/js-screenshot-1551970472.png

@kalamcs
Copy link

kalamcs commented Mar 13, 2019

Hi @gka

We will soon look into it and get this resolved.

Thanks for pointing out the issue.

regards

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