Hi to the forum.
I have a need to compose an image, then resize it. Can that be done in one command?
I would prefer not to have to use perl etc.
What I need to do is combine these:
convert -resize 1280x768 CIMG3060.JPG
composite -geometry +50+50 sample.png CIMG3060.JPG composite.jpg
Any assistance greatly appreciated!
Bruce
Possible to connect utilities?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Possible to connect utilities?
Yes. This was what IM version 6 is all about...
convert CIMG3060.JPG -resize 1280x768 \
sample.png -geometry +50+50 -composite \
composite.jpg
See IM Examples for lots more examples.
Especially look at 'Alpha Composition'.
convert CIMG3060.JPG -resize 1280x768 \
sample.png -geometry +50+50 -composite \
composite.jpg
See IM Examples for lots more examples.
Especially look at 'Alpha Composition'.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/