How to save transparent images using ImageMagick???

Started by
0 comments, last by fyhuang 18 years, 10 months ago
Right now I'm trying to combine a series of images, 0001.png - 0016.png, into one big 4x4 file. Everything's combining fine except for one small detail - the source files have an alpha channel but the combined file does not. I've tried everything to get ImageMagick to save an alpha channel - this is my command line:
montage -channel RGBA -background "rgba( 0, 0, 0, 0 )" -depth 8 -type TrueColorMatte 0*.png -geometry 64x64 -tile 4x4 -channel RGBA -matte -transparent "rgb( 0, 0, 0 )" -type TrueColorMatte -depth 8 concat.png

But still, the image saves without an alpha channel. Can anyone help me with this? Thanks in advance!
- fyhuang [ site ]
Advertisement
Never mind, you were supposed to use 'transparent' instead of 'rgba( 0, 0, 0, 0 )'. Counter-intuitive...

Cheers!
- fyhuang [ site ]

This topic is closed to new replies.

Advertisement