| 1 |
ExifTool by Phil Harvey (philharvey66 at gmail.com) |
| 2 |
---------------------------------------------------------------------------- |
| 3 |
|
| 4 |
ExifTool is a customizable set of Perl modules plus a full-featured |
| 5 |
command-line application for reading and writing meta information in a wide |
| 6 |
variety of files, including the maker note information of many digital |
| 7 |
cameras by various manufacturers such as Canon, Casio, DJI, FLIR, FujiFilm, |
| 8 |
GE, HP, JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Nintendo, |
| 9 |
Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Phase One, Reconyx, Ricoh, |
| 10 |
Samsung, Sanyo, Sigma/Foveon and Sony. |
| 11 |
|
| 12 |
Below is a list of file types and meta information formats currently |
| 13 |
supported by ExifTool (r = read, w = write, c = create): |
| 14 |
|
| 15 |
File Types |
| 16 |
------------+-------------+-------------+-------------+------------ |
| 17 |
360 r/w | DR4 r/w/c | JP2 r/w | ODS r | RW2 r/w |
| 18 |
3FR r | DSF r | JPEG r/w | ODT r | RWL r/w |
| 19 |
3G2 r/w | DSS r | JSON r | OFR r | RWZ r |
| 20 |
3GP r/w | DV r | JXL r/w | OGG r | RM r |
| 21 |
7Z r | DVB r/w | K25 r | OGV r | SEQ r |
| 22 |
A r | DVR-MS r | KDC r | ONP r | SKETCH r |
| 23 |
AA r | DYLIB r | KEY r | OPUS r | SO r |
| 24 |
AAC r | EIP r | KVAR r | ORF r/w | SR2 r/w |
| 25 |
AAE r | EPS r/w | LA r | ORI r/w | SRF r |
| 26 |
AAX r/w | EPUB r | LFP r | OTF r | SRW r/w |
| 27 |
ACR r | ERF r/w | LIF r | PAC r | SVG r |
| 28 |
AFM r | EXE r | LNK r | PAGES r | SWF r |
| 29 |
AI r/w | EXIF r/w/c | LRV r/w | PBM r/w | THM r/w |
| 30 |
AIFF r | EXR r | M2TS r | PCAP r | TIFF r/w |
| 31 |
APE r | EXV r/w/c | M4A/V r/w | PCAPNG r | TNEF r |
| 32 |
ARQ r/w | F4A/V r/w | MACOS r | PCD r | TORRENT r |
| 33 |
ARW r/w | FFF r/w | MAX r | PCX r | TTC r |
| 34 |
ASF r | FITS r | MEF r/w | PDB r | TTF r |
| 35 |
AVI r | FLA r | MIE r/w/c | PDF r/w | TXT r |
| 36 |
AVIF r/w | FLAC r | MIFF r | PEF r/w | URL r |
| 37 |
AZW r | FLIF r/w | MKA r | PFA r | VCF r |
| 38 |
BMP r | FLV r | MKS r | PFB r | VNT r |
| 39 |
BPG r | FPF r | MKV r | PFM r | VRD r/w/c |
| 40 |
BTF r | FPX r | MNG r/w | PGF r | VSD r |
| 41 |
C2PA r | GIF r/w | MOBI r | PGM r/w | VSDX r |
| 42 |
CHM r | GLV r/w | MODD r | PLIST r | WAV r |
| 43 |
COS r | GPR r/w | MOI r | PICT r | WDP r/w |
| 44 |
CR2 r/w | GZ r | MOS r/w | PMP r | WEBP r/w |
| 45 |
CR3 r/w | HDP r/w | MOV r/w | PNG r/w | WEBM r |
| 46 |
CRM r/w | HDR r | MP3 r | PPM r/w | WMA r |
| 47 |
CRW r/w | HEIC r/w | MP4 r/w | PPT r | WMV r |
| 48 |
CS1 r/w | HEIF r/w | MPC r | PPTX r | WOFF r |
| 49 |
CSV r | HTML r | MPG r | PS r/w | WOFF2 r |
| 50 |
CUR r | ICC r/w/c | MPO r/w | PSB r/w | WPG r |
| 51 |
CZI r | ICO r | MQV r/w | PSD r/w | WTV r |
| 52 |
DCM r | ICS r | MRC r | PSP r | WV r |
| 53 |
DCP r/w | IDML r | MRW r/w | QTIF r/w | X3F r/w |
| 54 |
DCR r | IIQ r/w | MXF r | R3D r | XCF r |
| 55 |
DFONT r | IND r/w | NEF r/w | RA r | XISF r |
| 56 |
DIVX r | INSP r/w | NKA r | RAF r/w | XLS r |
| 57 |
DJVU r | INSV r | NKSC r/w | RAM r | XLSX r |
| 58 |
DLL r | INX r | NRW r/w | RAR r | XMP r/w/c |
| 59 |
DNG r/w | ISO r | NUMBERS r | RAW r/w | ZIP r |
| 60 |
DOC r | ITC r | NXD r | RIFF r | |
| 61 |
DOCX r | J2C r | O r | RSRC r | |
| 62 |
DPX r | JNG r/w | ODP r | RTF r | |
| 63 |
|
| 64 |
Meta Information |
| 65 |
----------------------+----------------------+--------------------- |
| 66 |
EXIF r/w/c | CIFF r/w | Ricoh RMETA r |
| 67 |
GPS r/w/c | AFCP r/w | Picture Info r |
| 68 |
IPTC r/w/c | Kodak Meta r/w | Adobe APP14 r |
| 69 |
XMP r/w/c | FotoStation r/w | MPF r |
| 70 |
MakerNotes r/w/c | PhotoMechanic r/w | Stim r |
| 71 |
Photoshop IRB r/w/c | JPEG 2000 r | DPX r |
| 72 |
ICC Profile r/w/c | DICOM r | APE r |
| 73 |
MIE r/w/c | Flash r | Vorbis r |
| 74 |
JFIF r/w/c | FlashPix r | SPIFF r |
| 75 |
Ducky APP12 r/w/c | QuickTime r | DjVu r |
| 76 |
PDF r/w/c | Matroska r | M2TS r |
| 77 |
PNG r/w/c | MXF r | PE/COFF r |
| 78 |
Canon VRD r/w/c | PrintIM r | AVCHD r |
| 79 |
Nikon Capture r/w/c | FLAC r | ZIP r |
| 80 |
GeoTIFF r/w/c | ID3 r | (and more) |
| 81 |
|
| 82 |
See html/index.html for more details about ExifTool features. |
| 83 |
|
| 84 |
ExifTool can be downloaded from |
| 85 |
|
| 86 |
https://exiftool.org/ |
| 87 |
|
| 88 |
RUNNING |
| 89 |
|
| 90 |
The exiftool script can be run right away without the need to install |
| 91 |
Image::ExifTool. For example, from within the exiftool directory you can |
| 92 |
extract the information from one of the included test files by typing: |
| 93 |
|
| 94 |
./exiftool t/images/ExifTool.jpg |
| 95 |
|
| 96 |
If you move the exiftool script to a different directory, you must also |
| 97 |
either move the contents of the lib directory or install the Image::ExifTool |
| 98 |
package so the script can find the necessary libraries. |
| 99 |
|
| 100 |
Note: If you are using the Windows cmd shell, you may need to rename |
| 101 |
'exiftool' to 'exiftool.pl' to run it directly from the command line. |
| 102 |
Alternatively, you can run exiftool with the command 'perl exiftool'. |
| 103 |
|
| 104 |
IF YOU ARE STILL CONFUSED |
| 105 |
|
| 106 |
The exiftool script is a command line application. You run it by typing |
| 107 |
commands in a terminal window. The first step is to determine the name of |
| 108 |
the directory where you downloaded the ExifTool distribution package. |
| 109 |
Assuming, for example, you downloaded it to a folder called "Desktop" in |
| 110 |
your home directory, then you would type the following commands in a |
| 111 |
terminal window to extract and run ExifTool: |
| 112 |
|
| 113 |
cd ~/Desktop |
| 114 |
gzip -dc Image-ExifTool-13.55.tar.gz | tar -xf - |
| 115 |
cd Image-ExifTool-13.55 |
| 116 |
./exiftool t/images/ExifTool.jpg |
| 117 |
|
| 118 |
Note: These commands extract meta information from one of the test images. |
| 119 |
To use one of your images instead, enter the full path name of your file in |
| 120 |
place of "t/images/ExifTool.jpg". |
| 121 |
|
| 122 |
INSTALLATION |
| 123 |
|
| 124 |
You can install the Image::ExifTool package to make it available for use by |
| 125 |
other Perl scripts by typing the following: |
| 126 |
|
| 127 |
perl Makefile.PL |
| 128 |
make |
| 129 |
make test |
| 130 |
make install |
| 131 |
|
| 132 |
Notes: |
| 133 |
i) You need root access for the last step above. |
| 134 |
|
| 135 |
ii) Some Perl installations (like the standard OSX installation) may not |
| 136 |
contain the necessary files to complete the first step above. But no |
| 137 |
worries: You can install ExifTool manually by moving 'exiftool' and the |
| 138 |
'lib' directory to any directory in your current PATH (ie. /usr/bin). |
| 139 |
|
| 140 |
iii) In Windows, "dmake" or "nmake" may be used if "make" is not |
| 141 |
available. |
| 142 |
|
| 143 |
(Also see html/install.html for more help with installation.) |
| 144 |
|
| 145 |
DEPENDENCIES |
| 146 |
|
| 147 |
Requires Perl version 5.004 or later. No other special libraries are |
| 148 |
required, however the following modules are recommended for decoding |
| 149 |
compressed and/or encrypted information from the indicated file types, and |
| 150 |
for calculating digest values and providing other features listed below: |
| 151 |
|
| 152 |
Archive::Zip (ZIP, DOCX, PPTX, XLSX, ODP, ODS, ODT, EIP, iWork) |
| 153 |
Compress::Zlib (DNG, PNG, PDF, DCM, MIE and SWF files) |
| 154 |
Digest::MD5 (PDF files, IPTC information, and JPG Extended XMP) |
| 155 |
Digest::SHA (PDF with AES-256 encryption) |
| 156 |
IO::Compress::Bzip2 (RWZ files) |
| 157 |
Time::HiRes (for generating ProcessingTime tag) |
| 158 |
POSIX::strptime (for inverse date/time conversion) |
| 159 |
Time::Piece (alternative to POSIX::strptime) |
| 160 |
Unicode::LineBreak (for column alignment of alternate-language output) |
| 161 |
Win32::API (for proper handling of Windows file names/times) |
| 162 |
Win32::FindFile (for Windows Unicode directory support, app only) |
| 163 |
Win32API::File (for Windows Unicode file names and file times) |
| 164 |
File::StatX (for reading FileCreateDate on Linux systems) |
| 165 |
Compress::Raw::Lzma (for reading encoded 7z files) |
| 166 |
IO::Compress::RawDeflate (for writing FLIF images) |
| 167 |
IO::Uncompress::RawInflate (for reading FLIF images) |
| 168 |
IO::Compress::Brotli (for writing compressed JXL metadata) |
| 169 |
IO::Uncompress::Brotli (for reading compressed JXL metadata) |
| 170 |
|
| 171 |
COPYRIGHT AND LICENSE |
| 172 |
|
| 173 |
Copyright 2003-2026, Phil Harvey |
| 174 |
|
| 175 |
This is free software; you can redistribute it and/or modify it under the |
| 176 |
same terms as Perl itself (either the Perl Artistic License or GPL). |
| 177 |
|
| 178 |
DISTRIBUTION FILES |
| 179 |
|
| 180 |
Below is a list of the files/directories included in the full ExifTool |
| 181 |
distribution package: |
| 182 |
|
| 183 |
Changes - Revision history |
| 184 |
MANIFEST - Full list of distribution files |
| 185 |
META.json - Standard CPAN dependency file (JSON format) |
| 186 |
META.yml - Standard CPAN dependency file (YAML format) |
| 187 |
Makefile.PL - Makefile for installation |
| 188 |
README - This file |
| 189 |
arg_files/ - Argument files to convert metadata formats: |
| 190 |
exif2iptc.args - Arguments for converting EXIF to IPTC |
| 191 |
exif2xmp.args - Arguments for converting EXIF to XMP |
| 192 |
gps2xmp.args - Arguments for converting GPS to XMP |
| 193 |
iptc2exif.args - Arguments for converting IPTC to EXIF |
| 194 |
iptc2xmp.args - Arguments for converting IPTC to XMP |
| 195 |
iptcCore.args - Complete list of IPTC Core XMP tags |
| 196 |
pdf2xmp.args - Arguments for converting PDF to XMP |
| 197 |
xmp2exif.args - Arguments for converting XMP to EXIF |
| 198 |
xmp2gps.args - Arguments for converting XMP to GPS |
| 199 |
xmp2iptc.args - Arguments for converting XMP to IPTC |
| 200 |
xmp2pdf.args - Arguments for converting XMP to PDF |
| 201 |
build_geolocation - Build custom Geolocation database |
| 202 |
config_files/ - Sample ExifTool configuration files: |
| 203 |
acdsee.config - Definitions for writing ACDSee XMP regions |
| 204 |
age.config - Calculate Age of person in photo |
| 205 |
bibble.config - Definitions for writing Bibble XMP tags |
| 206 |
convert_regions.config - Convert between MWG, MP and IPTC regions |
| 207 |
cuepointlist.config - Extract cue points and labels as a list |
| 208 |
depthmap.config - Extract Google DepthMap images |
| 209 |
example.config - General example showing config features |
| 210 |
fotoware.config - Definitions for writing Fotoware XMP tags |
| 211 |
frameCount.config - Extract FrameCount from MP4 videos |
| 212 |
gps2utm.config - Generate UTM coordinate tags from GPS info |
| 213 |
guano.config - Decode individual tags from Guano metadata |
| 214 |
local_time.config - Determine local time from GPS information |
| 215 |
nksc.config - Decode tags in Nikon ViewNX NKSC files |
| 216 |
onone.config - Definitions for writing On1 XMP tags |
| 217 |
photoshop_paths.config - For extracting or copying Photoshop paths |
| 218 |
picasa_faces.config - Convert from Picasa to MWG/MP face regions |
| 219 |
pix4d.config - Definitions for writing Pix4D XMP tags |
| 220 |
rotate_regions.config - Rotate MWG and MP region tags |
| 221 |
tiff_version.config - Determine the version of a TIFF file |
| 222 |
time_zone.config - Calculate time zone from EXIF tags |
| 223 |
exiftool - The exiftool application (Perl script) |
| 224 |
fmt_files/ - Output formatting example files: |
| 225 |
gpx.fmt - Format file for creating GPX track |
| 226 |
gpx_wpt.fmt - Format file for creating GPX waypoints |
| 227 |
kml.fmt - Format file for creating KML placemarks |
| 228 |
kml_track.fmt - Format file for creating KML track |
| 229 |
html/ - HTML documentation |
| 230 |
html/TagNames/ - HTML tag name documentation |
| 231 |
lib/ - ExifTool Perl library modules |
| 232 |
perl-Image-ExifTool.spec - Red Hat Packaging Manager specification file |
| 233 |
t/ - Verification test code |
| 234 |
t/images/ - Verification test images |
| 235 |
|
| 236 |
ADDITIONAL INFORMATION |
| 237 |
|
| 238 |
Read the following files included in the full distribution for more |
| 239 |
information: |
| 240 |
|
| 241 |
html/index.html - Main ExifTool documentation |
| 242 |
html/install.html - Installation instructions |
| 243 |
html/history.html - Revision history |
| 244 |
html/ExifTool.html - API documentation |
| 245 |
html/TagNames/index.html - Tag name documentation |
| 246 |
html/geotag.html - Geotag feature |
| 247 |
html/geolocation.html - Geolocation feature |
| 248 |
html/faq.html - Frequently asked questions |
| 249 |
html/filename.html - Renaming/moving files |
| 250 |
html/metafiles.html - Working with metadata sidecar files |
| 251 |
html/struct.html - Working with structured XMP information |
| 252 |
lib/Image/ExifTool/README - ExifTool library modules documentation |
| 253 |
|
| 254 |
and if you have installed Image::ExifTool, you can also consult perldoc or |
| 255 |
the man pages: |
| 256 |
|
| 257 |
perldoc exiftool |
| 258 |
perldoc Image::ExifTool |
| 259 |
perldoc Image::ExifTool::TagNames |
| 260 |
|
| 261 |
man exiftool |
| 262 |
man Image::ExifTool |
| 263 |
man Image::ExifTool::TagNames |
| 264 |
|
| 265 |
Note: If the man pages don't work, it is probably because your man path is |
| 266 |
not set to include the installed documentation. See "man man" for |
| 267 |
information about how to set the man path. |
| 268 |
|
| 269 |
---------------------------------------------------------------------------- |