I want to composite few images on one source images.
Before attaching those images, i need to resize them.
Can i do those in single convert? Please give me example code
Re-sizing images one by one by using multiple convert.
Composite images one by one in source image using multiple convert
And
Doing all these in one convert. Which is best in performance? ( considering server's resource usage too )
composite multiple images
Re: composite multiple images
You do not say how you are using the code but you should be able to modify this to your needs:
Code: Select all
convert image_1.jpg ( image_2.jpg -resize 100x100 ) -geometry +100+100 -composite ( image_3.jpg -resize 200x200 ) -geometry +500+500 -composite output.jpg
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: composite multiple images
There are about 3 ways of doing multi-image composition with re-sizing.
These are the main topic of ...
IM Examples, Multi-Image Layers
http://www.imagemagick.org/Usage/layers/#composite
These are the main topic of ...
IM Examples, Multi-Image Layers
http://www.imagemagick.org/Usage/layers/#composite
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/