Add support for the new quality options

This adds support for the following new quality options:

 * jpeg_quality
 * png_compression_level
 * png_compression_filter