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

The format option uses the wrong file extension #163

Closed
MethodGrab opened this issue Mar 2, 2015 · 1 comment
Closed

The format option uses the wrong file extension #163

MethodGrab opened this issue Mar 2, 2015 · 1 comment

Comments

@MethodGrab
Copy link

If you use the --format 'jpg' option, even though it correctly outputs a JPEG file, the file extension is still .png. This is confusing.

Example:

$ pageres google.com --format 'jpg'
✔ Generated 1 screenshot from 1 url and 1 resolution

$ file google.com-1366x768.png 
google.com-1366x768.png: JPEG image data, JFIF standard 1.01
@kevva kevva closed this as completed in c7e0ebf Mar 2, 2015
@MethodGrab
Copy link
Author

Thanks! 👍

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

1 participant