support for image output options like quality
Merge remote-tracking branch 'remotes/upstream/feature/image-quality'