Page 1 of 1

Resizing and overlay in the same command line

Posted: 2010-01-18T03:28:43-07:00
by sorcer1
Hello,

I know how to resize an image and how to overlay two images but if there is possible to do the 2 functions in same command line ?

This is my example :

Code: Select all

convert.exe -resize 100x100! BIG_IMAGE.PNG -composite -gravity center LITTE_IMAGE.PNG FINAL_IMAGE.PNG
I don't have errors but the the result is not correct.

Please help me.

Thanks.

Re: Resizing and overlay in the same command line

Posted: 2010-01-18T09:38:31-07:00
by el_supremo
Try this:

Code: Select all

convert.exe BIG_IMAGE.PNG -resize 100x100! LITTE_IMAGE.PNG -gravity center -composite FINAL_IMAGE.PNG
Pete