checking image integrity. How to speed up for many files?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
enka
Posts: 1
Joined: 2011-12-14T01:53:42-07:00
Authentication code: 8675308

checking image integrity. How to speed up for many files?

Post by enka »

Hello,

I create image sequences for video with a lot of frames. I use ImageMagick in command line to check the integrity of each frame with a loop. But it's very slow on big frames (HD TGA, 1920x1080, about 6 Mbits). So it's running at about 2 images per second.

How can i speed up the process? Is it possible to launch the work on all the processors of the workstation?

Thank you for your help.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: checking image integrity. How to speed up for many files

Post by anthony »

Without an example of what you are actually doing it is hard to say what speed up we can suggest!

By default individula operators within IM will make use of multiple processors. However if you want to parellize multiple operations (runnign multiple convert commands), you may want to turn of threaded processing.

For some basic speed up tips look at...
Making IM Faster (in general)
http://www.imagemagick.org/Usage/api/#speed
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply