Problems with missing an image filename - help!
Posted: 2009-11-05T05:44:36-07:00
Hi,
This is a rather long command that I crafted under convert 6.1.8, and it works perfectly with that version.
The command (used to) create(s) a button for websites, with the specified text and background.
/usr/local/bin/convert -size 109x26 xc:#5D7C93 -compose DstOut -composite -matte \( ../static/btn/a_1r12.png -flip -flop \) -gravity NorthWest -composite \( ../static/btn/a_1r12.png -flop \) -gravity SouthWest -composite \( ../static/btn/a_1r12.png -flip \) -gravity NorthEast -composite \( ../static/btn/a_1r12.png \) -gravity SouthEast -composite -composite -depth 32 -quality 100 ../static/btn/a_5print.png
I'm now running this version:
Version: ImageMagick 6.3.4 06/17/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
and I get the error
convert: missing an image filename `../static/btn/a_5print.png'.
Now I realise that when someone at Imagemagic changed the command-line syntax they had no idea of the number of Wikis and websites that now show up on google, broken with this error, but there are thousands!! Meanwhile there are lots of helpful posts about how to fix this problem, except that none of them ever do.
So would it be possible for an expert on here to re-arrange the above syntax so that it works under the latest 6.3.4 convert? Please?
Many grateful thanks in advance if anyone manages to fix this, although of course I'm rather sceptical (and downloading 6.1.8 again...).
This is a rather long command that I crafted under convert 6.1.8, and it works perfectly with that version.
The command (used to) create(s) a button for websites, with the specified text and background.
/usr/local/bin/convert -size 109x26 xc:#5D7C93 -compose DstOut -composite -matte \( ../static/btn/a_1r12.png -flip -flop \) -gravity NorthWest -composite \( ../static/btn/a_1r12.png -flop \) -gravity SouthWest -composite \( ../static/btn/a_1r12.png -flip \) -gravity NorthEast -composite \( ../static/btn/a_1r12.png \) -gravity SouthEast -composite -composite -depth 32 -quality 100 ../static/btn/a_5print.png
I'm now running this version:
Version: ImageMagick 6.3.4 06/17/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
and I get the error
convert: missing an image filename `../static/btn/a_5print.png'.
Now I realise that when someone at Imagemagic changed the command-line syntax they had no idea of the number of Wikis and websites that now show up on google, broken with this error, but there are thousands!! Meanwhile there are lots of helpful posts about how to fix this problem, except that none of them ever do.
So would it be possible for an expert on here to re-arrange the above syntax so that it works under the latest 6.3.4 convert? Please?
Many grateful thanks in advance if anyone manages to fix this, although of course I'm rather sceptical (and downloading 6.1.8 again...).