image quality should be integer