Preview Images from various types

Started by Archive, May 12, 2010, 08:53:53 AM

Previous topic - Next topic

Archive

[Originally posted by bsduser on 2006-02-01 18:08:51-08]

Hi all,

please, is there any way to get Preview/Thumbnail information from various filetypes including:
JPG, TIF, PSD, PNG, BMP ?

I want to use ExifTool just for for reading file-information - width, height, resolution, color model and preview/thumbnail (if exists). There are about 100000 files of various types on the fileservers, and they all should be read and catalogized with information above.

Or, is there any other way you, experienced users, usualy use, please?
I can not use e.g. ImageMagick, because of its memory and computing requirements (some files are up to 1GB), so I hoped to do it with ExifTool (really fast and gives a lot of info).
Is there a way, please?

Peter

Archive

[Originally posted by exiftool on 2006-02-01 19:33:46-08]

ExifTool will extract a JPG thumbnail image if it exists.  JPG and TIFF both may embed thumbnail images.  PSD, PNG and BMP don't usually embed a JPG thumbnail.

As an example, to extract the thumbnails recursively (and generate files named "FILE_thumb.jpg") for all files in a directory, you could do this:

Code:
   exiftool -thumbnailimage -b -w %d%f_thumb.jpg -r DIRNAME

But without writing a bit of Perl yourself, you will have to extract any textual information you want in a separate pass.

100000 files is a lot!  On my system here (450MHz) it could take exiftool a few hours to process that many images.