I am trying to overlay other image and add some multiline text on existing image using imagemagic.
want to write like this image where fb name profile picture caption will be writen over existing image http://image2.nametests.com/result_image/f7e10d6619542e1770f1bcac2352d635.jpg
Here is my command.Which produces faulty image.
my original image original.jpg size is 800x600 .i want to overlay small.jpg size 180 px over original.jpg and want to annotate. imagemagic performs the task with given command without any error but output is funny.
here is my output http://imgur.com/a/frSCi
original image http://imgur.com/a/626re
overlay image http://imgur.com/a/mmSep
convert logo: -resize x180 -gravity center -crop 180x180+0+0 /path/small.jpg composite -geometry +160+13 /path/original.jpg /path/picture.jpg /path/namefinal.jpg
any help will be greatly appreciated
Refer the attached image for clear details. http://imgur.com/a/kAMKL
try
convert background.jpg overlay.jpg -gravity center -geometry +0-30 -compose over -composite combined.jpg
If you have some overlay image that is larger than the center circle on your background image, then you should create a circular mask image with the size of the overlay image and mask the overlay so that the outside of the circle is transparent, then overlay that transparent image on the background.