Write converted image with output colorspace (#1420) (#1500)
Write converted image with output colorspace (#1420) (#1500)

* Write converted image with output colorspace (#1420)

Signed-off-by: Bo Zhou <a8cbe47fbaa2467a749e5c20e2774e1658f52ebf@gmail.com>

* Check if outputcolorspace is null and set it as oiio:ColorSpace (#1460)

Signed-off-by: Bo Zhou <a8cbe47fbaa2467a749e5c20e2774e1658f52ebf@gmail.com>

* Call getDisplayViewColorSpaceName to get output colorspace for view mode. #1420

Signed-off-by: Bo Zhou <a8cbe47fbaa2467a749e5c20e2774e1658f52ebf@gmail.com>

Co-authored-by: Patrick Hodoul <7057c3cd2372738fdbcbbd3cdc93319520f6bd11@autodesk.com>
AcademySoftwareFoundation/OpenColorIO,AcademySoftwareFoundation/OpenColorIO,AcademySoftwareFoundation/OpenColorIO,AcademySoftwareFoundation/OpenColorIO,AcademySoftwareFoundation/OpenColorIO