76
Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

  • View
    221

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Of Digital Images, EXIF Tags and Privacy

Exploring the images posted on the Internet

Page 2: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Let’s Start with an Example

Let’s assume we want to download an interesting image found on the web:

http://www.hotelditalia.com/foto/villaggio-la-roccia-lampedusa-e-linosa-residence-agrigento-foto.asp

Page 3: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet
Page 4: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

First Inspectionin Microsoft Windows

Once the image is saved in a folder,

Select the view: Thumbnails

And mouse over the image:

You should see something like

Page 5: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

What we learn here

• Some graphics formats can contain “data about data”:

- These data are called Metadata - They are embedded in the document itself - They are hidden from casual viewing

• In the case of the JPEG format, the Metadata is structured using “EXIF tags”

• Educate yourself on EXIF Tags: Read at: http://en.wikipedia.org/wiki/Exif

Page 6: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

From Wikipedia:The metadata tags defined in the EXIF standard cover a broad spectrum

• Date and time information: Digital cameras record and save the current date and time

• Camera settings: Static information (camera model and make), and Dynamic information that varies with each image ( orientation, aperture, shutter speed, focal length, metering mode, and ISO speed)

• A THUMBNAIL for previewing the picture on the camera's LCD screen, in file managers, or in photo manipulation software. Note: this thumbnail remains unmodified when the real image is retouched and saved (by professional products)

• Descriptions and copyright information

Page 8: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

EXIF Tags are created by

Digital Cameras, including Smart Phones

Some Photo-Editing Software: Photoshophttp://en.wikipedia.org/wiki/Extensible_Metadata_Platform

The XMP Tags are used for “Describing the document””

(Example on the next slide)

Some Specialized Software applications (used for inserting proprietary information: copyrights, etc)

Page 9: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

EXIF (XMP) Tags inserted by Photoshop

Displayed with

Page 10: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

The Problem with EXIF Tags

They contain information (that can be private) that is hidden by most viewing software

They can be displayed using Special Viewers

Page 11: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Deep InspectionA RAW View of the File

Start Lister32, also available in the current folder

(Note: Lister32 is a stand-alone freeware file viewer supporting very large files and several display modes: click on “Options”)

In Lister32, open the image you have just downloaded

Page 12: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet
Page 13: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

A (partial) View of EXIF Tags

displayed by OPANDA (Plugin for Firefox)

http://www.opanda.com/en/iexif/

Page 14: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

What we learnt here

What Digital Camera was usedThe image was retouched on a MacintoshUsing Photoshop CS3The Date/Time of the Processing. . . and many more things . . .

All this information is stored in the JPEG file format.This file implements the EXIF file format that can store a lot of

information about the creation and processing of the image.

Is this impressive? maybe NOT compared to all the information that could be stored in a

file implementing the EXIF Standard!

Examples

Page 15: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet
Page 16: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Preliminary Conclusions

CAUTION is recommended when

- You enter your settings in your digital camera- You use your Smart Phone to take pictures that

you will later post on the web, if it is GPS enabled, the picture will include the geographic location

- Graphics files implementing the EXIF tags can stores a lot of information!

- Reusing images found on the web: they contain some form of evidence of the owner of the image

Page 17: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Bad things that have happened because the users were unaware of EXIF information (MetaData)

Read Cat SCHWARTZ story:http://graphicssoft.about.com/b/2003/07/26/techtvs-cat-schwartz-exposed-is-photoshop-to-blame.htm

Read Adam Savage’s story:http://www.nytimes.com/2010/08/12/technology/personaltech/12basics.html

Page 18: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

MetaData and Social Web Sites

What Social Web Sites do with MetaData embedded in images uploaded on their web sites :

- Automatically remove- Offers the user to remove- Does nothing: the uploaded image retains

its metadata

Page 19: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

What the User Wants

To have control on this information …

We need a powerful tool (possibly several tools) to edit and modify the EXIF Tags!

In the next slides we reviews several freeware products

Page 20: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

The Solution of the Poor User

Page 21: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

How to Modify the EXIF tagsThe solution of the “Poor User”

1) Editing the image with a file viewer and removing manually the unwanted information does not work: this corrupts the file and the image is no longer viewable

2) Load the image in a Picture Viewer/Editor and save it as a BMP, this removes all the EXIF tags

3) Now save again the image in a JPG format. The result could be a file of a larger size

Page 22: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Metadata come in Various Flavors

- Exif

- GeoTags (added by devices that are GPS enabled: Smart Phones)

- XMP Information

Page 23: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Options for ProcessingMetadata come in various flavors

- Displaying MetaData (All or Part)- Modifying the MetaData (All or Part)- Adding MetaData- Exporting the MetaData: Copy the MetaData to a file- Importing MetaData from a file into an image- Removing All MetaData, including the Thumbnail

Page 24: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Different Perspectives:Is Metadata GOOD or BAD?

- A “Digital Camera User” wants to post online some pictures, but wants to remove all personal information hidden in the picture, such as geographical information, use of a retouching software, OS running on the computer, original image before cropping

- A Professional Photographer wants to add “Copyrights Notes” - A Professional Photographer wants to keep track of the make /

settings used to take each images- A Professional Photo Retoucher wants to keep track of the

software used to process each image- A user wants to keep track of the geographic information of the

location where the image was taken in order to associate it later with a geographical map

The intention behind the embedding of MetaData is USEFULNESS, but if used without the awareness of the user, it is a great infringement on privacy!

Page 25: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Tools for ProcessingMetadata come in various flavors

- Commercial / Freeware- As a rule, their capabilities varies a lot from

product to product for processing the various components of MetaData

- Can process one image at time or can process batches

Page 26: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

How to Modify the EXIF tagsThe solution of the “Educated User”

Use a “EXIF tags” Editor

You will retain the original quality of the file

Some comments on the capabilities of some Free EXIF Editors

Page 27: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Testing

EXIFER

Page 28: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

EXIFER

Web Site:http://www.friedemann-schmidt.com/software/exifer/

Download Link:http://www.tucows.com/adnload/281273_106644.html

Note: - Last Release: 2002,- No longer maintained- Very good product

Page 29: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Exifer gives access to only a limited number of EXIF Tags

It lets you ADD Tags (Photographer’s Name, Retouching Artist’s Name, etc., but you cannot remove the existing TAGS

Page 30: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Displays several EXIF Tags in the Right Pane

Page 31: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

EXIFER shows the image and the embedded thumbnail

EXIFER scan save the embedded thumbnail in a separate file for later inspection

Page 32: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

EXIFER can remove the embedded thumbnail, this results in a reduced size of the JPG File

In our example:

566 Kb >> 543 Kb

Page 33: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Rating EXIFER

The Interface could be more intuitive

Does not display all the EXIF tags (such as those added by retouching software, e.g. Photoshop)

Page 34: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Testing

PhotoME

Page 35: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

PhotoMEShows most of the EXIF Tags(But exiftool(-k).exe and Lister show more)

Shows the tags added by Photoshop

Does not allow modifying the Tags inside the file, but allows

Page 36: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

PhotoME offers several options for Displaying the Tags

Page 37: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

XNView

Free Portable Open-Source

Page 38: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

XNView

Can REMOVE All MetaData

Can Export some MetaData

Page 39: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

XNView

Can EDIT some MetaData

Page 40: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Deep InspectionAn Interpreted View of the File

For this exercise we use:

A freeware utility

exiftool(-k).exe

Available at:

http://owl.phy.queensu.ca/~phil/exiftool/ (Windows and Mac)

Page 41: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Deep InspectionA RAW FILE VIEWER

For this exercise we use:

A freeware utility

Lister

Available at

Page 42: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Removing Metadata TagsPros / Cons

Pros of Metadata tags:Metadata tags can be technically useful

Cons:File sizeThe user should know what s/he is doing when

using files embedding metadata

Page 43: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Removing Tags from JPG imagesFrom: http://www.fieggen.com/software/jpgextra.htm

The various yellow sections are all "extras", which are ignored by web browsers and JPG image viewing programs

Removing all the yellow "extras" and combining some of the green sections whilst leaving the blue section intact results in a much smaller JPG file, yet the resulting image will look identical to the original image because the JPG image data is completely unchanged.

Page 44: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Space Savingusing JPGExtra

Download at:http://www.fieggen.com/software/JPGExtra2_Trial.exe

Website: http://www.fieggen.com/software/jpgextra.htm

Files Size: 566 Kb >> 532 Kb ( - 34 Kb, 6%)

Page 45: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Space Savingusing MetaSripper.092

Download at:http://photothumb.com/metastripper/meta092.zip

Website: http://photothumb.com/metastripper/

Files Size: 566 Kb >> 543 Kb ( - 34 Kb, 4%)

Page 46: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Space Saving

Original ~24kB  

Example with a small file: http://www.rlvision.com/exif/about.asp

Original Photo: http://www.rlvision.com/exif/example_photoshop_original.jpgEXIF Tags removed: http://www.rlvision.com/exif/example_exif_tags_removed.jpg

Cleaning Tool: Exif Tag Remover 4.0

Cleaned ~3kB

Note: the Reduction of the file size is more dramatic with small files

Total gain: - 21 Kb (88%)

Page 47: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

More on files Embedding MetadataDigital Fingerprinting

Many file formats contain some form of metadata tags

Notorious: Frontpage saves in the <head> part information about the computer where the page is composed

Page 48: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Resources

Raising awareness about inadvertent information sharing

http://icanstalku.com/

http://icanstalku.com/how.php#disable

Web Photos That Reveal Secrets, Like Where You Live

http://www.nytimes.com/2010/08/12/technology/personaltech/12basics.html

http://graphicssoft.about.com/b/2003/07/26/techtvs-cat-schwartz-exposed-is-photoshop-to-blame.htm

Stalking for Dummies

http://blogs.forbes.com/firewall/2010/07/19/researchers-show-how-twitter-twitpic-make-stalking-simple/

Page 49: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Metadata in Microsoft documents

http://support.microsoft.com/kb/q223790/

Page 50: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet
Page 51: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Notes by P Krolak

These notes are ideas to incorporate into the exercise

Page 52: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Case Study

We will use an image of a table set that was for sale in a mall in the summer of 2009. The image was taken by a smart phone and sent via email to a friend.

Page 53: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

The Table set

Page 54: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

First – Use the EXIF Tool

Page 55: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

The Exif result

• The Exif tool confirms the date, time, and camera including the settings

• It also shows the geotag data

Page 56: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

PhotoME

Page 57: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

PhotoMe

• Using the current version examine the table set photo

• We display the GPS data and we note the histogram information on the left.

Page 58: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

PhotoMe

• Note the brower, image display, and image editing tool icons at the top of the window. Click and the image opens in the tool.

• For finding the portion of the metadata to display in the main window click the button for the section of the meta data that is to be examined.

Page 59: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

GeoSetter

•GeoSetter allows us to open the metadata and edit it. •The Geotag metadata can add, edit, or remove the lat/longitude •The final step allows us to export a KML file to embed the picture in a Google map or Google Earth

Page 60: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

GeoSetter

• Download from http://www.geosetter.de/en/

• GeoSetter is a freeware tool for Windows (XP or higher) for showing and changing geo data and other metadata (IPTC/XMP/Exif) of image files (e.g. images taken by digital cameras).

Page 61: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Step 1

• Click [Images] and open folder.

• Select the image to edit.

Page 62: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet
Page 63: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

The GeoSetter display

The toolbar and the three parts of the display

• The working images – the highlighted blue image, the table set with EXIF data shown

• The image of the table set.

• The map with the purple marker showing the location of the photo.

Page 64: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Edit Step [Images]/Edit image

• The image is missing the location information to go with the lat/long

• The location is gotten from the web.

Page 65: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

The Edit of the EXIF

• If the Geotag is missing the data can be added to the file.

• Suppose that you have photos without geotag that you want to enter data for you could use http://code.google.com/apis/maps/documentation/javascript/v2/examples/geocoding-reverse.html to point to the map where the photo was taken and get the address, the lat long etc.

• If the Geotag is missing the data can be added to the file.

• Suppose that you have photos without geotag that you want to enter data for you could use http://code.google.com/apis/maps/documentation/javascript/v2/examples/geocoding-reverse.html to point to the map where the photo was taken and get the address, the lat long etc.

• If the Geotag is missing the data can be added to the file.

• Suppose that you have photos without geotag that you want to enter data for you could use http://code.google.com/apis/maps/documentation/javascript/v2/examples/geocoding-reverse.html to point to the map where the photo was taken and get the address, the lat long etc.

Page 66: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Locate the site of the photo on the google map.•Locate the site of the image on the map provided.•Click on the location.•Record the data using the Geosetter tool image edit

http://code.google.com/apis/maps/documentation/javascript/v2/examples/geocoding-reverse.htm

http://code.google.com/apis/maps/documentation/javascript/v2/examples/geocoding-reverse.htm

Page 67: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

An easier to use Geocode Site to get latt/long and zipcode from and address

Below the map you are asked for an address (two if you need directions)

http://www.geocodezip.com/example_geo2.asp?addr1=98122&geocode=1

Page 68: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Click on the images/Export to Google Earth

Page 69: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

The KLM file will open in Google Earth

Page 70: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Locate the image and click on it

Page 71: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

The image is now in Google Earth

Page 72: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Sources of GeoTagged Data

• Smart phones and tablets with cameras

• Cameras with GPS

Page 73: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Sites with GeoTagged Photos

• http://www.geospatialexperts.com/sampledata.php

• http://www.panoramio.com/

• http://www.flickr.com/

Page 74: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

References for research

• Geotagging using iPhone or Android geotagging --http://www.geotagphotos.net/docs/geotagphotos-userguide-2011-01.pdf

• Google maps (lat, Lon) http://www.gorissen.info/Pierre/maps/googleMapLocationv3.php

Page 75: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

References Geotagging Devices

• http://paulstamatiou.com/review-eye-fi-explore-geotagging-sd-card

Page 76: Of Digital Images, EXIF Tags and Privacy Exploring the images posted on the Internet

Reference

• Reverse geogode example http://viralpatel.net/blogoogle-map-reverse-geocoding.htmlgs/demo/google-map-reverse-geocoding.html