Converted 0-100 thumbnailQuality param to appropriate 0-9 value when calling imagepng()

Signed-off-by: Joshua Paling <joshua.paling@gmail.com>
Merge pull request #115 from joshuapaling/master

Fixes issue #97 - invalid param for imagepng()