Re: output the acquisition time of a large set of images

Fred Weinhaus <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <p06240800c718a54153d8@[192.168.1.2]>
I'm also getting warnings:

identify: no decode delegate for this image format `Card0027.dat' @ 
magick/constitute.c/ReadImage/526.
identify: SDIM0027.tif: unknown field with tag 37717 (0x9355) 
encountered. `TIFFReadDirectory' @ coders/tiff.c/TIFFWarnings/521.
identify: SDIM0027.tif: unknown field with tag 40961 (0xa001) 
encountered. `TIFFReadCustomDirectory' @ 
coders/tiff.c/TIFFWarnings/521.




Your ,dat file is not an image, so IM does not know how to handle it.

Your .tiff file has unknown fields, so IM reports warnings for those 
fields that it does not know.

You can try adding -quiet to your command line, but I doubt it will 
get rid of all your errors and warnings.

see http://www.imagemagick.org/Usage/basics/#controls

For the .dat and similar files, the best thing would be to sort your 
directory by type and remove those files before running identify.

Alternately, you run the command with image type you want by 
replacing the final * with *.jpg etc

identify -format "%i %[EXIF:DateTimeOriginal]\n" *.jpg *.png *.tif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.