The following command does not work anymore:
convert -background lightblue -fill blue -font Verdana -size x40 label:Anthony label_size_height.gif
Just hang forever. Seems to be due to the size parameter (-size 140x40 works fine)
Is it a known issue?
Version: ImageMagick 6.8.0-6 2012-11-25 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenCL HDRI
MacOSX 10.7.5
lleche
Problem with convert
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Problem with convert
I can confirm on Mac OSX Snow Leopard IM 6.8.0.6 Q16. I waited over 4 minutes for it to finish and it did not so I aborted.
time convert -background lightblue -fill blue -font Verdana -size x40 label:Anthony show:
After aborting:
real 4m11.533s
user 3m32.761s
sys 0m38.310s
time convert -background lightblue -fill blue -font Verdana -size x40 label:Anthony show:
After aborting:
real 4m11.533s
user 3m32.761s
sys 0m38.310s
Re: Problem with convert
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.0-7 Beta available by sometime tomorrow. Thanks.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Problem with convert
See also viewtopic.php?f=3&t=22306 , where I reported that the converse (specifying the width but not the height) doesn't work properly.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Problem with convert
In IM 6.8.0.7 Q16, I get the following:
This seems adequate:
convert -background lightblue -fill blue -font Verdana -size x40 label:Anthony label_size_height.gif
This does not seem very good --- I would expect a larger font to fill the width with a larger height to support it:
convert -background lightblue -fill blue -font Verdana -size 100x label:Anthony label_size_width.gif
So it would appear that there is still a bug in the WIDTHx code
P.S. I understand that it is very hard to get label: and caption: to work for every font and size without clipping off parts of text or having the font be too small. Perhaps it depends upon the font sizes available for any given font?
This seems adequate:
convert -background lightblue -fill blue -font Verdana -size x40 label:Anthony label_size_height.gif
This does not seem very good --- I would expect a larger font to fill the width with a larger height to support it:
convert -background lightblue -fill blue -font Verdana -size 100x label:Anthony label_size_width.gif
So it would appear that there is still a bug in the WIDTHx code
P.S. I understand that it is very hard to get label: and caption: to work for every font and size without clipping off parts of text or having the font be too small. Perhaps it depends upon the font sizes available for any given font?