"John Smith" on wrote... | 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? | The GIF file format has a limited number of colors!
If both images use all, or almost all the available 256 colors, then appending them together will generate an image that has more that the 256 color limit. ImageMagcik is this forced to do some Color Quantization (reduction) and Dithering (using two colors side-by-side to simulate the original image color) to save the resulting appended image into the GIF format. As such you have lost colors, with new 'merged' colors being used in complex ways to generate the best posible image using a redcuded color set. For more information on this see... http://imagemagick.org/Usage/quantize/ Which will explain and example this process. Also see the section on the GIF file format... http://imagemagick.org/Usage/formats/#gif JPEG can be used to save the resulting image, in a more color friendly way, however this format always modifies the colors as part of the high compression methods it uses. These method are well suited to real world pictures but are generally bad for any other types of images. http://imagemagick.org/Usage/formats/#jpeg The only way to preserve the original colors is to use a loss-less image format such as PNG. this should compress as well as GIF, but not as well as JPEG (in general). http://imagemagick.org/Usage/formats/#png | 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? :-) :-) | | Thank you again. You have been a big help so far! :D | See Padding Out an Image http://imagemagick.org/Usage/thumbnails/#pad For a half-dozen or so techniques of doing this. Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- A Gods idea of amusement is a Snakes & Ladders game, with greased rungs. - Terry Pratchett "Wyrd Sisters" ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
