After checking that littleCMS was enabled, i selected it it put a message about unsupported profile and then crashed. Though another time it i thinkit it may gave that message before switching to something else.
Here is the file. I tried creating a simpler one using colimetric intent, but same problem.
softproof_snapysnapsA4_CUSTOM1_ONESTEP_65K_120NIT_native_32pc.icc (37.1 KB)
actually I did manage to grab this
13.1638 [lcms2] error 9: Wrong output color space on transform
13.1639 unsupported output profile `system display profile' has been replaced by sRGB!
13.1639 [lcms2] error 9: Wrong output color space on transform
13.1796 [lcms2] error 9: Wrong output color space on transform
13.1797 unsupported output profile `system display profile' has been replaced by sRGB!
13.1797 [lcms2] error 9: Wrong output color space on transform
13.1798 [lcms2] error 9: Wrong output color space on transform
13.1798 unsupported output profile `system display profile' has been replaced by sRGB!
13.1798 [lcms2] error 9: Wrong output color space on transform
13.4533 [lcms2] error 9: ColorSpace mismatch
13.4535 [lcms2] error 13: Couldn't link the profiles
13.4535 [_transform_rgb_to_rgb_lcms2] cannot create transform
Segmentation fault (core dumped)
EDIT: Actually I found the code, and the required API change
It calls xform = cmsCreateTransform(input_profile, input_format, output_profile, output_format, intent, 0);
in iop_profile.c
It needs to trap this error and or identify the profile before hand, and call
hTransform = cmsCreateMultiprofileTransform(&hDevicelink,
1,
TYPE_RGB_8,
TYPE_BGR_8,
INTENT_PERCEPTUAL,
0);
instead, and then
That’s all. Little CMS will understand and transparently handle the device-link profile. Note
the first parameter is an array of handles, so you can use ‘&’ in this particular case. Another
option is to use the device link profile as input and the output profile parameter equal to
NULL:
My C skills way to rusty… I will see if I can get a compiled version and make the change. But it should be just a few lines of code, even if you just retry the call with rearranged parameters.