fixes #7: renderCroppedGreyscaleBitmap was removed upstream

* Uses `renderThumbnail` instead of `renderCroppedGreyscaleBitmap`
* Updates `toBitmap` method to allow passing in dimensions manually