Add default value of image quality
Add image quality routine