Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
convert: geometry does not contain image `none' @ attribute.c/GetImageBoundingBox/238.
convert: geometry does not contain image `none' @ transform.c/ShaveImage/1285.
while we run the following command in ImageMagick 6.5.9
I don't know exactly what you are trying to do (looks like adding a shadow), but you only have one image so +append is not needed nor are the parentheses.
Simplifying your command seems to work fine for me on IM 6.5.9-8 Q16 Mac OSX Tiger
Thank You for your prompt response. Unfortunately this did not solve my problem .
The issue is when we use accented characters (like óáé) in ImageMagick 6.5.9 it does not work . The same command works in ImageMagick version 6.4.5. If we do not use these accented characters , the command works well.
1.
/usr/local/imagemagick/bin/convert -size 200x40 xc:none -font /home/sites/Style25.ttf -pointsize 26 -gravity center \( -clone 0 -fill gradient:\#ff9d00-\#ffdf8b -annotate 0 "ópástén" -trim -matte -bordercolor none -border 0x5 \) -delete 0 -background none -gravity east -append /home/sites/text.png
We get the error
convert: geometry does not contain image `none' @ attribute.c/GetImageBoundingBox/238.
2. The above command as suggested by you
/usr/local/imagemagick/bin/convert -size 749x63 xc:none -font Helvetica -pointsize 22 -gravity west \ -annotate 0 "ópástén" -background "#000000" -shadow 65x2+2+2 \ -fill "#FFFFFF" -background none -annotate 0 "ópástén" -trim \
-background none -shave 0x2 /home/sites/text.png
We get the error
convert: geometry does not contain image `none' @ attribute.c/GetImageBoundingBox/238.
convert: geometry does not contain image `none' @ transform.c/ShaveImage/1285.
Download the latest ImageMagick Windows release. We have patch that detects if the string is not UTF-8 and renders it. Let us know if that fixes the problem.