Problem with performance using the caption option
Posted: 2013-03-01T01:07:20-07:00
Hello,
I ran into a problem with performance using the caption option on the latest version of ImageMagick-6.8.3-6. I had an older server running ImageMagic-6.7.0-10 and the following command takes 2 seconds to complete. When I run it with the latest version, it take close to 50 seconds to complete.
convert -size 1325x708 xc:none -size 1275x650 -background none -gravity center -font Arial caption:"This is a test. This is another test. This is just another test." -compose over -composite testfile.png
I removed the latest version and replaced it with an older version (ImageMagic-6.7.0-10) and tested the command again on the newly built server and it worked great. It took 2 seconds to complete. I took the time to install version 6.7.5-10 and it worked fast as well. I then continued to install versions 6.7.6-10 through 6.8.0-10 and tested each version with the command above and found that all versions finished the command in 2-3 seconds until I reached version 6.7.9-10. This version is the version where it started to take a very long time to complete and every version there after. It works, yes, but not usable in a real world application. Can anyone shed some light on this? I'm not sure what I can do to fix this problem.
Thanks,
-John
I ran into a problem with performance using the caption option on the latest version of ImageMagick-6.8.3-6. I had an older server running ImageMagic-6.7.0-10 and the following command takes 2 seconds to complete. When I run it with the latest version, it take close to 50 seconds to complete.
convert -size 1325x708 xc:none -size 1275x650 -background none -gravity center -font Arial caption:"This is a test. This is another test. This is just another test." -compose over -composite testfile.png
I removed the latest version and replaced it with an older version (ImageMagic-6.7.0-10) and tested the command again on the newly built server and it worked great. It took 2 seconds to complete. I took the time to install version 6.7.5-10 and it worked fast as well. I then continued to install versions 6.7.6-10 through 6.8.0-10 and tested each version with the command above and found that all versions finished the command in 2-3 seconds until I reached version 6.7.9-10. This version is the version where it started to take a very long time to complete and every version there after. It works, yes, but not usable in a real world application. Can anyone shed some light on this? I'm not sure what I can do to fix this problem.
Thanks,
-John