I have three photos, a.png, b.png and c.png, I need to combine them into two rows (top and down) so that a.png be in the top center of b.png and c.png i.e. it looks like

b.png c.png

I used this command

convert \( a.png \) \( b.png c.png  +append \) -append combine.png  

but this command doesn't center a.png in the middle of first raw instead the combined photo looks like

b.png c.png

Just add a centering option:

convert \( a.png -gravity center \) \( b.png c.png  +append \) -append combine.png

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.