Page 1 of 1

Different colors after convert WHY?

Posted: 2016-09-23T05:31:36-07:00
by vladimircape
I got one source
and make 2 type of command and get images with different colors

1)Command

Code: Select all

convert -size $image_size canvas:none \
                    $background_image -geometry $image_size+0+0 -composite \
                    \( $in -colorspace RGB \) -geometry $transform -composite \
                    $out 2>&1
Image
http://images2.icanvas.com/framed-print ... f6/300.jpg

2)Command

Code: Select all

convert $in -colorspace RGB -resize 750x750 -colorspace sRGB -flatten -strip -interlace Plane -quality 85% $out 2>&1 
Image

Can -colorspace sRGB change such ?

Re: Different colors after convert WHY?

Posted: 2016-09-23T07:24:13-07:00
by snibgo
Your first command converts an image to RGB.

Your second command converts an image to RGB, then to sRGB.

So, of course the results are different.