Photo TimeStamp Analysis Program
This is a simple java program that processes a set of JPEGs resulting from KAP sessions, telling you the interval between each photo and the next, the average interval and some general EXIF info (derived from the first image in the session). The program runs under Windows XP, Mac OS X and possibly Linux and seems to cope with cameras from Canon, Pentax, Nikon, Samsung, Hewlett-Packard, Sony and Olympus (it probably works for most cameras that support EXIF).
The User InterfaceThe program has a simple GUI (no menus, no use of SWING) that looks like this: At the top of the GUI window are four key values:
Below these four input fields is the Report Area and a message area. Below that are three buttons:
Some things to note about the GUI:
- there is some checking of the parameters - for example if you set Depth negative, or non-numeric, you'll get a message about it.
- the program remembers the values you set in a properties file (TS.properties) and uses them as a starting point the next time you run the program.
- the properties file is editable with any text editor
- The program is smart enough to ignore intervals of 0, which can arise if you edit photos (to crop, change the size etc) and put the result in the same directory. There's an example in the second session in the image above.
The downloadable ZIP file contains two files, TS.jar and TS.properties. Put the TS.jar file in any convenient directory. Put the supplied TS.properties there too. Mac users who download the App version should just install the app in the Applications directory in the usual way.
Running the Program
Just display the folder containing the jar and properties files and double click on the jar file. That should bring up the GUI. If it doesn't try this:
- open a command prompt window. In Windows that means going to the Start menu, clicking 'Run...', typing 'cmd' and pressing Enter.
- change the directory to the one containing the jar and properties files
- type the commmand
java -cp TS.jar TSUI
- If this doesn't work, you should get some sort of error message. Let me know what it is and I'll try and help, or go here
For further information and bug reports, contact Dave@zenoshrdlu.com
AcknowledgementsI'm deeply grateful to Drew Noakes whose MetaData-Extractor java package greatly simplified the task of extracting EXIF data.
For other Java software, primarily related to CHDK, see here.