Page 2 of 2

Re: ImageMagick GUI

Posted: 2009-05-04T07:24:08-07:00
by jorlando
I posted a debug output at http://interactimage.com/debugIM1.txt for the following command:

Code: Select all

/usr/bin/convert -debug all rose: -flip -flop -resize 200x200 rose7.jpg
On the VPS where I'm trying to get my site working, it still takes forever to complete this operation. I even upgraded the server to the highest level offered. Can anyone look at the debug output and see a problem and why this may be taking so long?

The VPS provider thinks throwing more CPU at the problem is the way to go. If thats true, I'm out of business.

Thx
~Jeff

Re: ImageMagick GUI

Posted: 2009-05-04T09:16:16-07:00
by magick
Your command completes in 3 seconds (according to the debug output you posted). Better, however, on our 2.2ghz computer that is nearly 10 years old the command completes in less than a second. Both times are nearly double because of the -debug option. Another consideration is that using a wrapper rather than calling the ImageMagick command line will be much faster. If you are using PHP, try iMagick.

Type
  • identify -version
Is OpenMP part of the output? We have had one report where OpenMP actually causes ImageMagick to slow down by an order of magnitude. The problem is most likely in the gcc compiler or Gomp library. The workaround is to build / install ImageMagick without OpenMP support:
  • cd ImageMagick-6.5.2-0
    ./configure --disable-openmp
    make
    make install

Re: ImageMagick GUI

Posted: 2009-05-05T23:56:55-07:00
by jorlando
The VPS provider could not solve the problem. I opened an account at a different service and ImageMagick works as expected.

I would use iMagick if it supported the caption command that I need to word-wrap text. It seems about twice as fast as the command line.

Here is the output from -version at the original provider:
Version: ImageMagick 6.5.0-10 2009-05-02 Q16 OpenMP http://www.imagemagick.org Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

and from the new provider:
Version: ImageMagick 6.2.8 04/17/08 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC

Thanks
Jeff

Re: ImageMagick GUI

Posted: 2009-05-06T16:21:12-07:00
by anthony
jorlando wrote:I would use iMagick if it supported the caption command that I need to word-wrap text. It seems about twice as fast as the command line.
As caption: is a special input image creation format, it should be usable from the normal 'read images' function for the API you are using. The only thing you need to figure out is how to set things like size, pointsize, font, background, fill colors etc., before attempting to 'read' a caption image.

Basically it is present, you just 'read' a 'caption:' image, as if you were reading a normal file basied image.