Convert dont terminate
Posted: 2008-11-12T04:53:15-07:00
I have to extract some char from a font file ttf to a png file. I use this command:
convert -font fontfile.ttf -pointsize 32 label:"L" output.png
With some pointsize (for example 30 to 40 and 60 to 70) and some particular chars (for example "L" or "O" ) the convert comand continue to execute and dont terminate.
The fontfile.ttf is 270kb and normally the output.png could be of about 3kb (it's very small)
I already tried to add this parameters: -limit memory 16mb -limit map 32mb but it continue to give me the error.
I already tried with 16bit and 8bit version of ImageMagick
The Windows temp folder is in a partition of my harddisk that have 100GB of free space.
After some minutes that the convert comand is stil executing the free space of my computer terminate and it give me this error:
convert: invalid geometry '+3.35544e+007+33.5'
convert: out of memory
Who can help me please? It could be a bug of ImageMagick?
Instead if I use for example pointsize 60 or other character as "B" or "C" the conver comand function correctly and I obtain in a few seconds the correct output file (about 3kb)
convert -font fontfile.ttf -pointsize 32 label:"L" output.png
With some pointsize (for example 30 to 40 and 60 to 70) and some particular chars (for example "L" or "O" ) the convert comand continue to execute and dont terminate.
The fontfile.ttf is 270kb and normally the output.png could be of about 3kb (it's very small)
I already tried to add this parameters: -limit memory 16mb -limit map 32mb but it continue to give me the error.
I already tried with 16bit and 8bit version of ImageMagick
The Windows temp folder is in a partition of my harddisk that have 100GB of free space.
After some minutes that the convert comand is stil executing the free space of my computer terminate and it give me this error:
convert: invalid geometry '+3.35544e+007+33.5'
convert: out of memory
Who can help me please? It could be a bug of ImageMagick?
Instead if I use for example pointsize 60 or other character as "B" or "C" the conver comand function correctly and I obtain in a few seconds the correct output file (about 3kb)