My 15 minute command

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
mattalexx

My 15 minute command

Post by mattalexx »

This command just took 15 minutes to complete. Why? I don't have the speediest of dev servers but 15 minutes seems a little high.

Here's the command

Code: Select all

convert -debug "All" input.jpg -resize 420x420\> output.jpg
Here's a link to the source image
http://files.mattalexander.me/misc/input.jpg (6.3 MB)

Here's the debug output
http://files.mattalexander.me/misc/debug_output.txt

Here's the version

Code: Select all

mattserver ~: convert -version
Version: ImageMagick 6.4.5 2009-06-04 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
Thanks for your attention
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: My 15 minute command

Post by magick »

Try rebuilding ImageMagick without OpenMP support. There are a few buggy implementations of libgomp that slows down ImageMagick rather than speed it up. We're using ImageMagick 6.5.7-0 and your command completed in 2 seconds.
mattalexx

Re: My 15 minute command

Post by mattalexx »

Could you point me towards a good tutorial about how to rebuild IM?

Also, if I do that, doesn't my package manager lose track of it?

Thanks,
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: My 15 minute command

Post by magick »

Post Reply