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.



More Than Scottish Pride

Scotland’s referendum isn’t about nationalism. It’s about a system that failed, and a new generation looking to take a chance on itself. 

What Charles Barkley Gets Wrong About Corporal Punishment and Black Culture

Why Greenland’s “Dark Snow” Should Worry You

Three Talented Actresses in Three Terrible New Shows

Why Do Some People See the Virgin Mary in Grilled Cheese?

The science that explains the human need to find meaning in coincidences.


Happy Constitution Day!

Too bad it’s almost certainly unconstitutional.

Is It Worth Paying Full Price for the iPhone 6 to Keep Your Unlimited Data Plan? We Crunch the Numbers.

What to Do if You Literally Get a Bug in Your Ear

  News & Politics
Sept. 16 2014 7:03 PM Kansas Secretary of State Loses Battle to Protect Senator From Tough Race
Sept. 16 2014 4:16 PM The iPhone 6 Marks a Fresh Chance for Wireless Carriers to Kill Your Unlimited Data
The Eye
Sept. 16 2014 12:20 PM These Outdoor Cat Shelters Have More Style Than the Average Home
  Double X
The XX Factor
Sept. 15 2014 3:31 PM My Year As an Abortion Doula
  Slate Plus
Slate Plus Video
Sept. 16 2014 2:06 PM A Farewell From Emily Bazelon The former senior editor talks about her very first Slate pitch and says goodbye to the magazine.
Brow Beat
Sept. 16 2014 8:43 PM This 17-Minute Tribute to David Fincher Is the Perfect Preparation for Gone Girl
Future Tense
Sept. 16 2014 6:40 PM This iPhone 6 Feature Will Change Weather Forecasting
  Health & Science
Medical Examiner
Sept. 16 2014 11:46 PM The Scariest Campfire Story More horrifying than bears, snakes, or hook-handed killers.
Sports Nut
Sept. 15 2014 9:05 PM Giving Up on Goodell How the NFL lost the trust of its most loyal reporters.