jhead is an open source command line driven utility for extracting digital camera settings from the Exif format files used by many digital cameras. It handles the various confusing ways these can be expressed, and displays them as F-stop, shutter speed, etc.
This tool is also able to reduce the size of digital camera JPEGs without loss of information, by deleting integral thumbnails that digital cameras put into the Exif header.
Many projects, including PHP, have reused code from this utility.
Key Features
- Extracting camera settings from Exif image files.
- Able to set and/or adjust the Exif time field.
- Manipulation (extract, replace, regenerate) of Exif integral thumbnails.
- Transplant Exif image header from one JPEG to another.
- Edit JPEG comment fields.
- Automatically rotate images upright (using jpegtran) according to “orientation” tag.
- Manage running programs on large batches of Jpegs and restoring Exif header information afterwards.
- Display embedded GPS info (if present).
- Extracts the following 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.
- Modifies the following from 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.
-
- Rename 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.
- Options for manipulating Exif files including the date in the header, renaming image files, or coordinating running Jpegtran and Mogrify to manipulate whole directory trees of images.
Website: www.sentex.net
Support: Documentation
Developer: Matthias Wandel
License: Public Domain
jhead is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Photo Metadata Editors | |
|---|---|
| Photini | Easy to use digital photograph metadata editor |
| ExifTool | Command-line application and library for reading and writing meta information |
| Exiv2 | C++ library and a command line utility to manage image metadata |
| digiKam | Provides tools for viewing and editing metadata |
| jExifToolGUI | Graphical frontend to ExifTool |
| Jhead | Exif Jpeg header manipulation tool |
| Scramble | Privacy-focused image metadata removal tool |
| Phatch | Simple to use cross-platform GUI photo batch processor |
Read our verdict in the software roundup.
| Small Image Tools | |
|---|---|
| Rembg | Background segmentation tool using machine learning |
| imgp | Multi-core batch image file resize and rotate |
| ExifTool | Read, write and edit meta information |
| imagededup | Find duplicate images |
| Durdraw | ASCII, Unicode and ANSI art editor |
| pstoedit | PostScript and PDF files to editable vector graphics converter |
| potrace | Transforms bitmaps into vector graphics |
| jhead | Manipulate the non-image part of Exif compliant JPEG files |
| CropGUI | Graphical user interface for jpegtran |
| pngcrush | Optimizer for PNG files. It's a command-line tool |
| Picsort | Tool for sorting images into folders |
| imagineer | Offers image processing and conversion |
| Pictures Converter | Convert image formats |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

