I've tried the sample for converting from CMYK to RGB and the output still appears to have CMYK embedded.
After running the code above and using http://regex.info/exif.cgi to read the metadata, I can see the following warning;
Am I doing something dumb? Tried a few different angles but can't see it.
Thanks in advance
Ryan
var settings = new MagickReadSettings();
settings.ColorSpace = ColorSpace.RGB;
using (MagickImage image = new MagickImage())
{
image.AddProfile(ColorProfile.SRGB);
image.Read(sourceImagePath , settings);
image.Write(destinationImagePath );
}
I've also tried swapping the ColorSpace enumeration above with .CMYK to no avail.After running the code above and using http://regex.info/exif.cgi to read the metadata, I can see the following warning;
WARNING: Embedded color profile: “(unrecognized embedded color profile 'U.S. Web Coated (SWOP) v2')”Obviously, this is exactly what I am trying to get rid of as it renders poorly in IE and other image libs have trouble understanding it (as it is CMYK).
Some popular web browsers ignore embedded color profiles, meaning users of those browsers see the wrong colors for this image.
Am I doing something dumb? Tried a few different angles but can't see it.
Thanks in advance
Ryan