Skip to content

Instantly share code, notes, and snippets.

@jhurliman
Last active August 29, 2015 13:57
Show Gist options
  • Save jhurliman/9750044 to your computer and use it in GitHub Desktop.
Save jhurliman/9750044 to your computer and use it in GitHub Desktop.
Broken EXIF timestamp in iPhone 5 (iOS 7.1) camera photo
{
"{Exif}": {
"ExposureTime": 0.06666666666666667,
"LensMake": "Apple",
"Flash": 16,
"ColorSpace": 1,
"SubjectArea": [1210, 1108, 509, 509],
"ExifVersion": [2, 2, 1],
"FocalLenIn35mmFilm": 33,
"SceneCaptureType": 0,
"ShutterSpeedValue": 3.906905055487053,
"FocalLength": 4.12,
"FNumber": 2.4,
"LensSpecification": [4.12, 4.12, 2.4, 2.4],
"PixelYDimension": 2448,
"ApertureValue": 2.52606882168926,
"PixelXDimension": 3264,
"WhiteBalance": 0,
"DateTimeDigitized": "2013:11:11 18:46:53",
"SensingMethod": 2,
"ExposureProgram": 2,
"ISOSpeedRatings": [800],
"DateTimeOriginal": "2013:11:11 18:46:53",
"MeteringMode": 5,
"FlashPixVersion": [1, 0],
"ComponentsConfiguration": [1, 2, 3, 0],
"SubsecTimeOriginal": "913",
"ExposureMode": 0,
"SceneType": 1,
"BrightnessValue": -2.823394495412844,
"LensModel": "iPhone 5 back camera 4.12mm f/2.4",
"SubsecTimeDigitized": "913"
},
"ColorModel": "RGB",
"Orientation": 6,
"DPIHeight": 72,
"PixelWidth": 3264,
"PixelHeight": 2448,
"{ExifAux}": {
"Regions": {
"WidthAppliedTo": 3264,
"HeightAppliedTo": 2448,
"RegionList": [{
"AngleInfoRoll": 270,
"ConfidenceLevel": 301,
"Width": 0.162377,
"Type": "Face",
"FaceID": 1,
"X": 0.374694,
"Timestamp": 823729087,
"AngleInfoYaw": 0,
"Y": 0.466503,
"Height": 0.216503
}]
}
},
"Depth": 8,
"{MakerApple}": {
"1": 0,
"3": {
"timescale": 1000000000,
"epoch": 0,
"value": 389444756845875,
"flags": 1
},
"4": 0,
"5": 174,
"6": 50,
"7": 0
},
"{TIFF}": {
"Model": "iPhone 5",
"ResolutionUnit": 2,
"YResolution": 72,
"XResolution": 72,
"Orientation": 6,
"Software": "7.0.3",
"DateTime": "2013:11:11 18:46:53", <-- Local (PST) timestamp
"Make": "Apple"
},
"{GPS}": {
"AltitudeRef": 0,
"Latitude": 36.11358883333333,
"ImgDirectionRef": "T",
"ImgDirection": 322.9211822660099,
"LatitudeRef": "N",
"DateStamp": "2013:11:11", <-- ERROR: Date did not change!
"LongitudeRef": "W",
"Altitude": 641.723163841808,
"Longitude": 115.1746833333333,
"TimeStamp": "02:46:53" <-- Shifted eight hours forward to become UTC
},
"DPIWidth": 72
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment