Page 1 of 1

Combine two images of different size..?

Posted: 2010-03-10T12:10:01-07:00
by ziasumo
How to simple combine two images in IMageMagic Script if these are of differnet size...?

Re: Combine two images of different size..?

Posted: 2010-03-10T12:37:26-07:00
by fmw42
please clarify how you want to combine them. do you want them side by side? do you want on on top of the other? what do you really need?

Are you using Imagick PHP API or just ImageMagick in command line?

Re: Combine two images of different size..?

Posted: 2010-03-10T13:02:04-07:00
by ziasumo
I just want to combine them side by side.
like
Before
Image
Image
Final
ImageImage

Re: Combine two images of different size..?

Posted: 2010-03-10T13:55:52-07:00
by fmw42
convert image1 image2 -gravity center -background black +append result

Re: Combine two images of different size..?

Posted: 2010-03-12T01:09:04-07:00
by ziasumo
Thanks buddy..
It really worked