Perspective Distortion by command line doesn't works
Posted: 2009-01-13T13:00:09-07:00
I'm trying to run the code bellow in the windows xp prompt:
"convert image.jpg -matte -virtual-pixel transparent -distort Perspective '0,0,0,0 0,262,0,262 240,0,240,37 240,262,240,237' result.png"
but I got this error:
convert: invalid argument for option '-distort ': '0,0,0,0, @ convert.c/ConvertImageCommand/1167
but in a linux server it runs perfect
exec("convert image.jpg -matte -virtual-pixel transparent -distort Perspective '0,0,0,0 0,262,0,262 240,0,240,37 240,262,240,237' result.png");
"convert image.jpg -matte -virtual-pixel transparent -distort Perspective '0,0,0,0 0,262,0,262 240,0,240,37 240,262,240,237' result.png"
but I got this error:
convert: invalid argument for option '-distort ': '0,0,0,0, @ convert.c/ConvertImageCommand/1167
but in a linux server it runs perfect
exec("convert image.jpg -matte -virtual-pixel transparent -distort Perspective '0,0,0,0 0,262,0,262 240,0,240,37 240,262,240,237' result.png");