problem running affine example
Posted: 2013-05-14T20:49:00-07:00
Hi,
I'm trying to run the example shown here (running Windows, IM 6.7.9 Q16):
http://www.imagemagick.org/Usage/distorts/#shadow3d
It's fairly simple... the first "convert" statement creates a blue letter "A" in the image and saves it.
The second line, however, is supposed to create a shadow.
That is not working... I keep getting the following error messages. It is trying to read part of the input as a file, like so:
The same error keeps repeating for the rest of the convert statement.
I copied this straight from the URL noted above, but do I need to change the syntax slightly for Windows?
I'm trying to run the example shown here (running Windows, IM 6.7.9 Q16):
http://www.imagemagick.org/Usage/distorts/#shadow3d
It's fairly simple... the first "convert" statement creates a blue letter "A" in the image and saves it.
Code: Select all
convert -background None -virtual-pixel Transparent -fill DodgerBlue -pointsize 72 -font Arial label:A -trim +repage -gravity South -chop 0x5 standing_shape.png
Code: Select all
convert standing_shape.png -flip +distort SRT '0,0 1,-1 0' ( +clone -background Black -shadow 60x5+0+0 -virtual-pixel Transparent +distort Affine '0,0 0,0 100,0 100,0 0,100 100,50') +swap -background white -layers merge -fuzz 2% -trim +repage standing_shadow.jpg
Code: Select all
convert.exe: unable to open image `1,-1': No such file or directory @ error/blob
.c/OpenBlob/2641.
convert.exe: no decode delegate for this image format `1,-1' @ error/constitute.
c/ReadImage/544.
convert.exe: unable to open image `0'': No such file or directory @ error/blob.c
/OpenBlob/2641.
convert.exe: no decode delegate for this image format `0'' @ error/constitute.c/
ReadImage/544
I copied this straight from the URL noted above, but do I need to change the syntax slightly for Windows?