[magick-users] montage usage question

Fred Weinhaus fmw at alink.net
Wed Mar 12 10:16:49 PDT 2008



>thank you so much Fred, that did the trick!  A follow-up question if you
>know it,
>
>I am noticing some weirdness in the rendered image.  What I mean is, the
>colors are not right.  I have a solid green color of #48BD60 on my
>original (pre-joined) images... however, the joined output is not
>percisely this value.... it is close, but at least 3 or 4 variations of
>that hex code are in the output file :(  Do you know why this may be the
>case?  Is there some setting to make it create a perfect rendition?
>


That is because you have taken two jpg images and created another jpg 
image. Each time you create a new jpg there is some further 
compression. IM compresses by default about 80% quality. So you 
change the colors some. The best thing would be to take your original 
images and form a new one in a different format such as png which 
does not compress by default. Alternately you can tell IM to make the 
final image at 100% quality level.

convert image1.jpg image2.jpg +append image3.png

convert image1.jpg image2.jpg +append -quality 100 image3.jpg


See the documentation that Anthony Thyssen has developed at

http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/

and of course also

http://www.imagemagick.org/script/command-line-options.php


>Lastly, I had one seperate question which should shore me up. (Thank you
>for this group---and your time!).  Let's say I have a single 200x200
>image, and want to create a 300x200 image using that 200x200 image,
>centered within that new space, & with a specified color value for it
>(the extra 50 pixels on each side of the input image being created).  How
>would this be done? :-) :-)


convert image1.jpg -bordercolor "whatevercolor" -border 50x50 image2.jpg

for colors see

http://www.imagemagick.org/script/command-line-options.php#fill
http://imagemagick.org/script/color.php


also another place to get help is at

http://www.imagemagick.org/discourse-server/





More information about the Magick-users mailing list