Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
vladimircape
Posts: 7 Joined: 2014-07-09T06:15:04-07:00
Authentication code: 6789
Post
by vladimircape » 2016-09-23T05:31:36-07:00
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
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
Can -colorspace sRGB change such ?
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2016-09-23T07:24:13-07:00
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.