Helpful Posts Helpful Posts:  0
Results 1 to 4 of 4

Thread: Print list of image sizes in a folder?

  1. #1
    Tim's Avatar
    Join Date
    May 2009
    Location
    Travelling in Asia
    Posts
    37
    Real Name
    Tim Makins

    Print list of image sizes in a folder?

    I would like to print a list of the width and height of all the images in a specified folder.

    Adding other EXIF data would be good too, but not essential.

    Does anyone know a Windows program that can do this?

    Tim

  2. #2

    Join Date
    Oct 2009
    Location
    Maryland, USA
    Posts
    1,015
    Real Name
    Rick

    Re: Print list of image sizes in a folder?

    Hi, Tim;

    I don't know of a specific solution. But if you have some Windows batch file skills, you could use exiftool to write a script to do it. I sometimes use exiftool to grab specific data items.

    Cheers,
    Rick

  3. #3
    Tim's Avatar
    Join Date
    May 2009
    Location
    Travelling in Asia
    Posts
    37
    Real Name
    Tim Makins

    Re: Print list of image sizes in a folder?

    Thanks Rick - ExifTool was the one for the job. Here's what I found out, and then did:

    ExifTool can produce a file that contains tag information from images in a given directory, and all sub-directories. The documentation is extensive, but requires a lot of detailed reading to get going. Alternatively:

    1/ Download the Windows-executable file and save it in a directory (such as C:\photos) with the photos that you need the size for. Sub-folders with photos can be included, as the search is recursive.

    2/ Create a file in this directory called 'out.txt'. If this file already exists, any existing contents will be over-written.

    3/ Open a Command Prompt and change the directory: cd C:\photos

    4/ Type in the following command line, and press Return:

    exiftool -r -T -filename -createdate -imagesize c:\photos > out.txt

    Note these options: -r = recursive search. -T = display in tabular form.

    4/ The data will be saved in a file called 'out.txt'.

    For further info on options, see the ExifTool documentation, or double-click on the 'exiftool.exe' file.

    Regards to all, Tim

  4. #4

    Join Date
    Oct 2009
    Location
    Maryland, USA
    Posts
    1,015
    Real Name
    Rick

    Re: Print list of image sizes in a folder?

    Thanks for the detailed write-up, Tim. That's a feature of ExitTool I haven't used, and very useful.

    Cheers,
    Rick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •