add param quality for jpeg and png
Merge pull request #6 from jmeivan/master

add param quality for jpeg and png