brenden / node-webshot

Easy website screenshots in Node.js
2.12k stars 285 forks source link

Add jpeg quality settings #56

Closed Lab43 closed 10 years ago

Lab43 commented 10 years ago

This makes it possible to control the jpeg compression quality when creating a screenshot. It will not work if you're using streaming because it's not possible to set the quality when using .renderBase64().

Default compression quality is set to 75, which is what phantomjs already uses by default.

roelvanduijnhoven commented 10 years ago

Would be usefull!

brenden commented 10 years ago

Looks great, merging