Hi all !
I am trying to overlay 3 PNGs in one command.
They all have a white background that must be used as transparent color.
They are also named with the same pattern : image_XXXXX_tmp.png
I tried with this command, but one of the images does not appear in the final image :
convert image_*_tmp.png -transparent white -composite merge.png
merge.png looks good, but only the first 2 of the 3 images (in alphabetical order) are visible.
Is my command syntax wrong ?
Thanks a lot for your help !
Composite images with wildcard and transparency
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Composite images with wildcard and transparency
-composite only allows two images and a mask. try -flatten or -layers merge
http://www.imagemagick.org/script/comma ... php#layers
http://www.imagemagick.org/Usage/layers/
http://www.imagemagick.org/script/comma ... php#layers
http://www.imagemagick.org/Usage/layers/
Re: Composite images with wildcard and transparency
-layers merge works great, thanks a lot !