I 'm trying to apply Perspective distort, but I need to use width / height coordinates.
This works OK:
Code: Select all
convert out_textured.jpg -alpha set -virtual-pixel transparent -distort Perspective 0,0,9,95,0,"%%h",0,"%%h","%%w","%%h","%%w","%%h","%%w",0,"%%w",0 out_pers.png
Code: Select all
convert out_textured.jpg -alpha set -virtual-pixel transparent -distort Perspective 0,0,9,95,0,"%%h",0,"%%h"-70,"%%w","%%h","%%w","%%h","%%w",0,"%%w",0 out_pers.png
I have tried these and they do not work:
"%%h"-70
"%%h-70"
""%%h"-70"
Please help. Thanks.