convert caption: slow
Posted: 2015-04-22T22:31:11-07:00
I have several lines of text (from 1 to 5 lines) of different lengths that I need to become an image within an allocated size. I have been using the following command to autosize the text to a 'best fit':
> convert -size 900x170 -font Helvetica -gravity Center caption:"This is first line 1 here:\nLine 2 follows\nLast line" outfile.png
This command has been working fine on my FreeBSD 8.2-STABLE i386 server with ImageMagick-6.7.0.2 and completes in under 2 seconds. Problem is when I run this on our new FreeBSD 9.3-STABLE amd64 with ImageMagick-6.8.0.7 it takes arounf 55 seconds to complete . While running, it max outs the CPU to 100%.
I have no Features compiled in:
> convert -version
Version: ImageMagick 6.8.0-7 2013-04-30 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features:
Is there any way to get the time down to what it was on my 368 server.
> convert -size 900x170 -font Helvetica -gravity Center caption:"This is first line 1 here:\nLine 2 follows\nLast line" outfile.png
This command has been working fine on my FreeBSD 8.2-STABLE i386 server with ImageMagick-6.7.0.2 and completes in under 2 seconds. Problem is when I run this on our new FreeBSD 9.3-STABLE amd64 with ImageMagick-6.8.0.7 it takes arounf 55 seconds to complete . While running, it max outs the CPU to 100%.
I have no Features compiled in:
> convert -version
Version: ImageMagick 6.8.0-7 2013-04-30 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features:
Is there any way to get the time down to what it was on my 368 server.