Added `quality` parameter

Thanks @dominicwhittle, from https://github.com/dominicwhittle/bfi_thumb