WEll, i made progress. I split the conversion into two steps:
At first, i converted the original image to a sRGB colorprofile using
Code: Select all
convert ECI_RGB.tif -profile Profile/sRGB2014.icc out.tif
Then, i converted the resultfile to LAB:
Code: Select all
convert out.tif -colorspace LAB lab.tif
But i needed to install Imagemagick with
Code: Select all
brew reinstall imagemagick --with-little-cms --with-little-cms2
to get that working.
The result: The image i get from the first command (out.tif) looks completely identical to the original.
When i perform the final command (to LAB), i can notice a slight shift in color. barely noticable. But it is there. Any idea how i can get rid of that?
I Noticed that the color profile that the image has that i want to convert to LAB, makes a big difference. If the image is in ECI-RGB, it is darker after i converted it. If it is in sRGB, i notice only a slight color shift. If it is in a CMYK-Profile, it looks completely different.
That leads me to the question: is there a Colorprofile that is better suited for the LAB conversion than sRGB2014?
Or is there any magical parameter that i can add to the second command to get rid of the color shift?