You are not logged in.
I use a variation of this command in an application, and it has run sufficiently fast for years. However, with the current version of ImageMagick, it is extremely slow when I use a custom font (causing the application to hang disconcertingly). No errors are thrown, even with the -verbose tag. Does anyone know why IM is now so slow operating on a custom font, and if there is anything I can do to optimise the operation? Thanks.
With no font specified, this command runs in a tenth of a second:
[tony@linux ~]$ start=$(date +%s%3N) ; convert -pointsize 24 caption:"Lorem ipsum dolor sit amet" pic.png ; echo `expr $(date +%s%3N) - $start` ms
118 msWith a custom font specified, the same command takes almost five seconds:
[tony@linux ~]$ start=$(date +%s%3N) ; convert -font /usr/local/share/fonts/c/code2000.ttf -pointsize 24 caption:"Lorem ipsum dolor sit amet" pic.png ; echo `expr $(date +%s%3N) - $start` ms
4650 msLast edited by tony5429 (2014-10-12 19:06:50)
Offline
No ideas on this issue?
Offline