Hello,
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>);
then I immediately delete the sRGB profile to win space
MagickProfileImage(Wand, 'icc', nil);
but it's seam to not work
After doing this the colors are completely wrong ...
thanks by advance
stéphane
how to convert an image to sRGB color profile ?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: how to convert an image to sRGB color profile ?
What colorspace was the input image? Did it have an ICC profile? If it didn't, you need to assign one before converting to another profile.
There are many versions of sRGB, so deleting the profile is a bad idea.
There are many versions of sRGB, so deleting the profile is a bad idea.
snibgo's IM pages: im.snibgo.com