I have a simple VB program that I can make work for simple image conversions and -draw line commands. I really need to use a more complicated list of arguments but I can not get it to work. I'm not sure how to parse it out correctly to make it work with IMobject. This is the command line I need to make work using IMObject:
Code: Select all
convert test.tif -gravity center -draw "translate 500,209 rotate -35.058 scale 4.215,4.215 image over -500,-209,0,0 'label2.gif'" output.tif
I think the quotes in the -draw section are causing me the problem. I have tried:
Code: Select all
"test.tif", "-gravity", "center", "-draw", """translate", "500,209", "rotate", "-35.058", "scale" ,"4.215,4.215, "image", "over", "-500,-209,0,0", "'label2.gif'""","output.tif"
but it doesn't work.