kevva / screenshot-stream

Capture screenshot of a website and return it as a stream
MIT License
236 stars 38 forks source link

Change the `jpeg` format to `jpg` #15

Closed sindresorhus closed 9 years ago

sindresorhus commented 9 years ago

Before we document this in pageres I think we should change the format to jpg instead of jpeg.

To match the most used extension. I at least find it more natural to use jpg.

@kevva Thoughts?

kevva commented 9 years ago

Does it work with jpg? Check the supported formats on http://phantomjs.org/api/webpage/method/render-base64.html.

sindresorhus commented 9 years ago

Probably not, but we can just rewrite it.

sindresorhus commented 9 years ago

https://github.com/kevva/screenshot-stream/commit/f968b7d2609f94ca088544ae672da086f45efc24