diff --git a/rtengine/iccstore.cc b/rtengine/iccstore.cc index 49ff4790e..dc4fe6ffb 100644 --- a/rtengine/iccstore.cc +++ b/rtengine/iccstore.cc @@ -501,7 +501,9 @@ public: ) ||( type==ICCStore::ProfileType::OUTPUT - && (cmsGetDeviceClass(profile.second) == cmsSigDisplayClass || cmsGetDeviceClass(profile.second) == cmsSigOutputClass) + && (cmsGetDeviceClass(profile.second) == cmsSigDisplayClass + || cmsGetDeviceClass(profile.second) == cmsSigInputClass + || cmsGetDeviceClass(profile.second) == cmsSigOutputClass) && cmsGetColorSpace(profile.second) == cmsSigRgbData ) ) {