Add advanced option to set jpg quality used when saving images.

Default to 90.