This project has moved. For the latest updates, please go here.

Resized images appear different in chrome to windows photo viewer

May 26, 2015 at 7:14 AM
Edited May 26, 2015 at 7:15 AM

Not really sure what the error is here, I suspect it may be a chrome issue, although it may be that the images produced has an error that can be fixed.

Image screenshot shown side by side (Left image is Chrome)

How the image should look

The AI file the image was taken from
var settings = new MagickReadSettings {Density = new PointD(150)};

                using (var image = new MagickImage(_mediaFolder + "/" + upload.FileName, settings)) {
                    image.Resize(1024, 1024);
                    image.Format = MagickFormat.Jpg;
                    filePath = ....
May 26, 2015 at 10:49 AM
Your image is CMYK instead of sRGB and most browsers are not good at displaying CMYK images. You probably want to convert it to sRGB instead. The next version of Magick.NET will include a new method to do this easily, you can take a look at the changesets below to see how I implemented this: