Exif Jpeg header manipulation tool
Version 2.97 Updated Jan 30 2013
Usage documentation
Things jhead can extract from an Exif jpeg file
- Time and date picture was taken
- Camera make and model
- Integral low-res Exif thumbnail
- Shutter speed
- Camera F-stop number
- Flash used (yes/no)
- Distance camera was focused at
- Focal length and calculate 35 mm equivalent focal length
- Image resolution
- GPS info, if stored in image
- IPTC header
- XMP data
|
|
Things jhead can modify in an exif jpeg file
- Up-right images according to rotation tag using jpegtran
- Set or relative adjust internal exif timestamps
- Fix date / time offsets in large batches of images
- Re-name or date stamp files according to exif timestamp
- Transfer exif headers between images
- Replace thumbnails inside Exif headers
- Edit jpeg comments (but not the Exif comments)
- Delete exif or comment sections from jpeg images
- Create new minimal exif header containing date and thumbnail
|
The files coming out of a pretty much all Digital cameras are in the Exif flavour of Jpeg files.
Exif files are for the most part Jpeg files, but start with a different header block, and
contain additional data sections with camera settings, as well as a preview thumbnail picture
as part of the Exif header. Many image browsers today make use of this integral thumbnail
when browsing, while other browsers make their own thumbnails based on the image as a whole.
Because I am interested in photography, I am always curious just exactly what settings my
fully automatic digital camera actually did end up using.
Back in 1999, when I originally wrote jhead, I couldn't find a program that would consistently
display the settings, nor one that could be compiled into a simple executable. I have since
added many more features to jhead, many of them the result of suggestions or code contributions.
Though there are many programs out there now that can manipulate Exif headers today,
for many tasks, jhead remains the simplest and most effective tool for the job, especially
if used for automated or scripted tasks.
Sample jhead output:
File name : 0805-153933.jpg
File size : 463023 bytes
File date : 2001:08:12 21:02:04
Camera make : Canon
Camera model : Canon PowerShot S100
Date/Time : 2001:08:05 15:39:33
Resolution : 1600 x 1200
Flash used : No
Focal length : 5.4mm (35mm equivalent: 36mm)
CCD Width : 5.23mm
Exposure time: 0.100 s (1/10)
Aperture : f/2.8
Focus Dist. : 1.18m
Metering Mode: center weight
Jpeg process : Baseline
The program also has a lot of other command line options for
manipulating Exif files, such as options to manipulate the date in the header, renaming
image files, or coordinating running Jpegtran and Mogrify to manipulate whole directory
trees of images.
Here's the program files. Just right click and save as.
For novice Linux/Unix/OS-X users: Don't forget to set the executable bit after downloading the
pre-built executables. Type "chmod +x jhead" at a shell window after downloading it to do this.
Releases
There's also a change log
The software is public domain.
A program this small is not worth bothering restricting anybody with, and I'm too lazy
to look into the ramifications of GPL or BSD licenses. Besides, I hope more people integrate
this sort of functionality into their programs, free or not free.
More on Exif at
http://www.exif.org
and at:
http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf
Got questions? Read the manual. If that doesn't answer your questions, you can contact me at:
(If you want to include contact information, refer to this page's URL, but please don't post my
email address in machine readable forms on the web)
Other handy free utilities by Matthias Wandel:
Lots of other interesting shareware and freeware at
Best Software 4 Download .com
Also check out my
Home page, or my
Woodworking website
|