Page 1 of 1

Using Imagemagick to identify Tiff offset ?

Posted: 2007-02-01T11:18:36-07:00
by AtPac
Hello all,

Very new Imagemagick user, first post. Im still learning my way through the program and all of its various functions.

I have quite a few DVD's with THOUSANDS of files on them that I will be manipulating with ImageMagick in one form or another. The format is Cat. 4 TIFF (standard tags, nothing proprietary). The files are mix bag multi and single page TIFF's.

The first step that I need to accomplish is to identify all of the multipage TIFF's. I cant differentiate them by file size or name unfortunately.

Whats my best option within Imagemagick?

Many thanks! Im looking forward to spending more time here in the forum :)

Posted: 2007-02-01T11:33:47-07:00
by magick
To identify multi-page TIFF images, try this command:
  • identify -format "%f: %n" *.tif
Any line with a page count greater than 1 is multi-page.

Posted: 2007-02-01T11:49:38-07:00
by AtPac
magick,
Thanks for the quick reply! I will be running some of these images tomorrow. They are tiff images, but part of the reason I have to go through them all is the program that generated them gave them incorrect file names, including a file extension ".001". Will I encounter a problem as a result of that and if so what can I do about it