Page 1 of 1

Imagick output file with incorrect color

Posted: 2016-09-09T08:03:46-07:00
by vladimircape
I wanted to create new image and put other image inside ,and my code is

Code: Select all

convert -size 500x375 xc:'#f4f5f6' 10031.jpg -geometry 300x300+100+100 -composite  out.jpg 2>&1
but in out.jpg the image from 10031.jpg in other color scheme, not the origin, for example black color become inverse
Why ? and how to fix it

Re: Imagick output file with incorrect color

Posted: 2016-09-09T08:12:56-07:00
by snibgo
Perhaps 10031.jpg is CMYK, not sRGB.

Re: Imagick output file with incorrect color

Posted: 2016-09-09T09:12:58-07:00
by vladimircape
Yes you was right.Thansk