Add ability to set image quality when resizing.

Implemented the ability to set the quality of resized images via the
'convert_options' parameter.