I really don't know any more.
Their is a xmp profile in the image, but that is not a color profile.
By default IM thinks of the image as LAB colorspace - so that is good.
I know round trip sRGB->LAB->sRGB colorspace check is working, but that may not mean the actual conversion is working. We probably should check it against a LAB profile conversion.
EG
Code: Select all
convert rose: -profile sRGB -profile LAB -set colorspace LAB -colorspace sRGB show:
But I don't have the icc profile file installed on my machine! Shows how little I use them!
This however this is showing some problem, as it came out wrong!
Code: Select all
convert rose: -colorspace RGB -colorspace LAB -colorspace sRGB show:
But this comes out correct
Code: Select all
convert rose: -colorspace XYZ -colorspace LAB -colorspace sRGB show:
that probably indicates a RGB->LAB conversion failure, so is probably unrelated to this problem.
It should not matter how many -colorspace operations we do, the result should be what ever the final colorspace operation converts too.
Adding this as a colorspace test (currently failing) in source.
Hmm the colorspace trip test is also failing for sRGB->RGB->XYZ->sRGB