[magick-users] Montage Question
Anthony Thyssen
anthony at griffith.edu.au
Tue Jun 17 17:53:58 PDT 2008
Chris Howell on wrote...
| Hi All,
|
| I am a little confused. I created a montage'd image by saying.
|
| montage *.png -background black -geometry 64x64 -tile 8x8 output.png.
|
| I then said
|
| convert output.png -transparent black -depth 8 output.rgba
|
| What I want is I want the colour black to be transparent in the rgba or
| not show up. However when I did
|
Try this...
montage *.png -background none -geometry 64x64+10+10 -tile 8x8 output.png
| Indentify -verbose on my output.png The output told me that, my
| background colour in my otuput.png was white an the transparent colour
| was black.
|
| whereas I need my background colour to be black in output.png.
|
In what way? Background color is just a setting in the output image
format. Very very very few programs ever make use of that setting.
Transparent color on the other hand is the color o fthe index used in an
images pallette, to represent transparency. That should be setable
using the -transparent-color setting.
See IM Examples, GIF transparency color.
http://imagemagick.org/Usage/formats/#gif_trans
PS: you c=don't need to specify both X and Y in -tile you can use
-tile 8x or -tile x8
This insures only ONE image will be produced whcih is large enough to
hold ALL the images given.
See IM Examples, Montage
http://imagemagick.org/Usage/montage/
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
I have a Dragon here, and I am not afraid to use it!
-- Donkey, "Shrek" the movie
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list