I have an .heic image (with come from an iOS device). How to convert it to sRGB ? Before I was doing like this :
To convert to sRGB:
MagickProfileImage(Wand, 'icc', <sRGB2014.icc>);
but it's seam to not work :( After doing this the colors are completely wrong ...
example of an image with ICC profile :
And what I have after I replaced the profile by a sRGB profile
original image (heic) here: https://filebin.ca/4fy7yPEUfwga/picture.zip
convert -version
for IM6 ormagick -version
for IM 7. – fmw42 May 4 '19 at 19:53convert img.jpg -profile sRGB.icc img6.jpg
in IM 6.9.10.43 andmagick img.jpg -profile sRGB.icc img7.jpg
in IM 7.0.8.43. Both are visually the same as your input. Again, I would not remove the profile once you install one. Otherwise, different display/viewers will apply their own profile and the result will not look consistent from viewer to viewer. – fmw42 May 4 '19 at 19:59