Things that do what I expect in isolation :
Resize and then crop
Code: Select all
$ convert input.jpg -resize '400x400>' -gravity center -crop 300x400+0+0 +repage output.jpg
Code: Select all
$ convert -composite input.jpg overlay.png output.jpg
Code: Select all
$ convert input.jpg -annotate +55+357 'The text I want' output.jpg
Code: Select all
$ convert \( input.jpg -resize '400x400>' -gravity center -crop 300x400+0+0 +repage \) mask.png -composite output.jpg
What I want to do is something like :
Code: Select all
$ convert \( input.jpg -resize '400x400>' -gravity center -crop 300x400+0+0 +repage \) mask.png -composite \( -annotate +55+357 'The text I want' \) output.jpg
-dwkns