Add multiple png pictogramme inside another picture

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
stefan.l

Add multiple png pictogramme inside another picture

Post by stefan.l »

Hi all ImageMagick users,

I try to add several small png files inside one bigger but in one way.
I have ten pictograms in png format and I want to put these at different point inside the major png file.
At this time I can do that doing this :

composite picto1.png map.png map_temp.png
composite picto2.png map_temp.png map_temp2.png
etc...

Can I do this only once ?

kind regards.

Stefan
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Add multiple png pictogramme inside another picture

Post by anthony »

Yes convert can do multiple image compistion. So can -flatten and -mosaic
See the IM Examples section, Mosaics of Multiple Images
http://www.imagemagick.org/Usage/mosaics/
for all the details of the methods you can use. Including resizing and placement.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply