Image

Imagevulture23 wrote in Imagelinux 😡frustrated

commandline image utilities?

Anyone know of any command-line image processing utilities besides ImageMagick?

Here's my problem. We've got a client that sends us a set of images every day, in the form of a TIFF file with multiple frames. I need them in single-frame files, so I've written a script that uses ImageMagick to extract each of those frames into their own individual file. (The client, unfortunately, won't cooperate by sending us individual files. When I asked for that, they had one of their programmers slap together a tcl/tk app to view separate frames -- great, but not what I need, I really do need them one frame per file. This seems to be beyond their comprehension, or at least beyond their caring. Bleah.)

Anyhow, this works fine most of the time, but ImageMagick seems to sporadically crap out when there's a large number of frames in the file. It seems to be fine up to about 200 frames, and after that it's increasingly likely to fail. Right now, I have a file that's got 568 frames in it, and I've spent several hours trying to brute-force my way through this. It works for a few frames, but I keep having to kill my script and restart it. After doing this about a dozen times and still being less than a tenth through the process, I'm about to tear my hair out.

So... any other way to extract individual frames from a TIFF en masse, or some way to get ImageMagick to behave better??