Can the time stamp on a digital photo be altered?

Answers to your questions about the news.
April 20 2006 6:19 PM

Are the Duke Lacrosse Photos Legit?

Can the time stamp on a digital photo be altered?

Download the MP3 audio version of this story here, or sign up for The Explainer's free daily podcast on iTunes.

Lawyers released digital photos of a Duke lacrosse team party to the media this week, in an attempt to discredit the exotic dancer who has accused several players of rape. Time-stamped images show the woman performing at the party and then smiling on the back porch at 12:30 a.m. Can you trust the time stamp on a digital image?

Nope. When you take a picture with a digital camera, the exact date and time of the shutter-release are recorded to your image file, along with many other bits of "metadata." Every time you take a picture, your camera will also save information about your exposure time, f-stop setting, ISO, focal length, and so on. (It will even store a second time stamp for the moment the image file gets written to your memory card—which usually happens just a few moments after you take the picture.) But the time stamps are only as accurate as the clock in your camera; if you forgot to set it an hour ahead for daylight savings, your metadata would be an hour off. You can also modify any of the metadata with a simple computer command if you have the right software.

Daniel Engber Daniel Engber

Daniel Engber is a columnist for Slate


Digital cameras append metadata to an image file according to a standard format called EXIF, short for "Exchangeable Image File." You won't see the information when you load up the picture (and the date and time won't appear in the corner of your image), but you can call up the details with a few clicks of the mouse. In Photoshop all you have to do is go to "File: File Info"; camera-specific image browsers make it just as easy.

Photoshop and many other software packages let you edit certain parts of the EXIF data. You can add a caption, for example, or copyright information if you're a professional photographer. Other metadata—like the original time stamp, for example—is "read-only," which means you can't modify it with standard software. Even if you try to fiddle with the binary code using a hex editor, it may not be obvious how to change the date and time without corrupting the file.

That doesn't mean it takes a serious computer hacker to adjust the numbers. Within a span of about 20 minutes, the Explainer was able to download a utility called ExifTool from the Web and edit the time stamps on all his photos: Each and every one now appears to have been taken at 12:30 a.m. on the night of the Duke lacrosse team party.

If a lawyer wants to use time-stamp metadata in court, he'll be much better off if the police seized the digital camera that took the pictures. That way he can argue that the pictures on the camera couldn't have been modified, and he can also demonstrate that the clock inside the camera wasn't improperly set. He can also try to corroborate the time stamps with the images themselves: One of the photos in the Duke case purportedly shows a player's wristwatch with the time matching that given in the metadata.

Got a question about today's news? Ask the Explainer.

Explainer thanks George Reis of Imaging Forensics.



The Irritating Confidante

John Dickerson on Ben Bradlee’s fascinating relationship with John F. Kennedy.

My Father Invented Social Networking at a Girls’ Reform School in the 1930s

Renée Zellweger’s New Face Is Too Real

Sleater-Kinney Was Once America’s Best Rock Band

Can it be again?

The All The President’s Men Scene That Captured Ben Bradlee

Medical Examiner

Is It Better to Be a Hero Like Batman?

Or an altruist like Bruce Wayne?


Driving in Circles

The autonomous Google car may never actually happen.

The World’s Human Rights Violators Are Signatories on the World’s Human Rights Treaties

How Punctual Are Germans?

  News & Politics
Oct. 22 2014 12:44 AM We Need More Ben Bradlees His relationship with John F. Kennedy shows what’s missing from today’s Washington journalism.
Oct. 21 2014 5:57 PM Soda and Fries Have Lost Their Charm for Both Consumers and Investors
The Vault
Oct. 21 2014 2:23 PM A Data-Packed Map of American Immigration in 1903
  Double X
The XX Factor
Oct. 21 2014 3:03 PM Renée Zellweger’s New Face Is Too Real
  Slate Plus
Behind the Scenes
Oct. 21 2014 1:02 PM Where Are Slate Plus Members From? This Weird Cartogram Explains. A weird-looking cartogram of Slate Plus memberships by state.
Brow Beat
Oct. 21 2014 9:42 PM The All The President’s Men Scene That Perfectly Captured Ben Bradlee’s Genius
Oct. 21 2014 11:44 PM Driving in Circles The autonomous Google car may never actually happen.
  Health & Science
Climate Desk
Oct. 21 2014 11:53 AM Taking Research for Granted Texas Republican Lamar Smith continues his crusade against independence in science.
Sports Nut
Oct. 20 2014 5:09 PM Keepaway, on Three. Ready—Break! On his record-breaking touchdown pass, Peyton Manning couldn’t even leave the celebration to chance.