Page 1 of 1

Strange Color Changing

Posted: 2014-01-08T09:44:26-07:00
by micahasmith
I'm on windows 7 using ImageMagick 6.8.6-2 2013-06-23 Q16.

When i run the following command it seems to invert the color scheme.

The image URL is http://printmee.blob.core.windows.net/a ... 423c-1.jpg

convert -size '7000x3500!' canvas:transparent \( 25059-45205-d4e8423c-1.jpg -resize '3500x3500!' \) -gravity northwest -geometry +0+0 -composite \( 25059-45205-d4e8423c-1.jpg -resize '3500x3500!' \) -gravity northwest -geometry +3500+0 -composite -units PixelsPerInch -density 200 140108-16294254395e5817-d.png

Ever seen anything like this?

Re: Strange Color Changing

Posted: 2014-01-08T10:15:09-07:00
by dlemstra
Are you aware that you have a CMYK jpeg and not an sRGB jpeg?

Re: Strange Color Changing

Posted: 2014-01-09T08:24:34-07:00
by micahasmith
I am now! ;)

I'm surprised that would have that effect though. Weird.

Re: Strange Color Changing

Posted: 2014-01-09T09:12:05-07:00
by snibgo
Sometimes, IM will automatically convert from CMYK to sRGB. But this is quite rare, and we usually need to tell it, eg with "-colorspace sRGB":

Code: Select all

convert -size '7000x3500!' canvas:transparent \( 25059-45205-d4e8423c-1.jpg -colorspace sRGB -resize '3500x3500!' \) ...