views:

225

answers:

1

I have a small (100x80) overlay image which will be placed at x=40, y=50 on a transparent background(800x600) and then rotated 80 degrees in place.

convert  -size 800x600 xc:none -background transparent m01.jpg -rotate 80 -geometry +40+50  -composite final.png

rotates the merged image. how can i rotate only the overlay image in place(over the background at +40+50)?

A: 

found out that the layer specific operations need to be grouped by ()

convert -size 800x600 xc:none -background transparent \
 \( -page +40+50 01.jpg -rotate 80 \) -flatten final.png
hinoglu