36.19 Metadata Included in Photos

20220403 Using exiftool you can extract all of the metadata stored with a photo. There is a lot! See Section 76.14 for a discussion of the privacy issues of photo metadata, like location, make and model of the camera, and the date and time of the photo.

The resolution of the photo, focal length, exposure time and F number are interesting for photographers.

To list the metadata use exiftool.

exiftool myphoto.jpg

A subset of the data is listed below.

ExifTool Version Number         : 11.65
File Name                       : 20200218_092410_00.jpg
File Modification Date/Time     : 2020:02:18 09:24:14+11:00
File Access Date/Time           : 2020:04:11 09:00:31+10:00
File Inode Change Date/Time     : 2020:04:11 09:40:25+10:00
File Permissions                : rw-r-----
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Make                            : Google
Camera Model Name               : Pixel 4
Orientation                     : Rotate 180
X Resolution                    : 72
Y Resolution                    : 72
Modify Date                     : 2020:02:18 09:24:10
Y Cb Cr Positioning             : Centered
Exposure Time                   : 1/24
F Number                        : 1.8
Exif Version                    : 0231
Date/Time Original              : 2020:02:18 09:24:10
Create Date                     : 2020:02:18 09:24:10
Offset Time                     : +11:00
Image Width                     : 4032
Image Height                    : 3024
GPS Altitude                    : 0 m Above Sea Level
GPS Date/Time                   : 2020:02:18 03:24:08Z
GPS Latitude                    : 27 deg 36' 42.90" N
GPS Longitude                   : 78 deg 3' 37.10" E
GPS Position                    : 27 deg 18' 42.63" N, 34 deg 0'
Megapixels                      : 12.2
Create Date                     : 2020:02:18 09:24:10.028893+11:00

Many photo sharing sites and apps, including WhatsApp, strip location and other personal meta data from photos as they are shared.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0