With these two images, both of which are 128x128 PNG with transparency:
image1.png: http://img15.imageshack.us/img15/9229/shime2.png
image2.png: http://img233.imageshack.us/img233/1988/shime3.png
Code: Select all
convert image1.png image2.png -background None -layers TrimBounds tmp.miff
Code: Select all
identify tmp.miff
tmp.miff[0] MIFF 128x128 128x128+0+0 8-bit TrueColor DirectClass 40.5KB 0.000u 0:00.000
tmp.miff[1] MIFF 128x128 128x128+0+0 8-bit TrueColor DirectClass 40.5KB 0.000u 0:00.000
Code: Select all
-geometry '+0+0' -trim
I tried various other incantations, trying to tell it in various ways what to do with the transparency. The IM examples don't hint at any such difficulties with transparency.
Linux Ubuntu 10.10
Version: ImageMagick 6.6.2-6 2010-12-02 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP