added IMAGE_QUALITY option