Get Exif data in JSON
To get exif data from an image use the following request:
http://api.rethumb.com/v1/exif/all/http://images.rethumb.com/image_exif_1.jpg
This request will return the following response:
{
"FILE": {
"FileName": "image_exif_1.jpg",
"FileDateTime": "1409958035",
"FileSize": "62411",
"FileType": "2",
"MimeType": "image/jpeg",
"SectionsFound": "ANY_TAG, IFD0, THUMBNAIL, EXIF, GPS, INTEROP"
},
"COMPUTED": {
"html": "width="500" height="375"",
"Height": "375",
"Width": "500",
...
},
"IFD0": {
"ImageDescription": "",
"Make": "SONY",
"Model": "DSC-HX9V",
"Orientation": "0",
"XResolution": "72/1",
...
},
"THUMBNAIL": {
"Compression": "6",
"ImageDescription": "",
"Make": "SONY",
"Model": "DSC-HX9V",
"Orientation": "0",
...
},
"EXIF": {
"ExposureTime": "1/250",
"FNumber": "59/10",
"ExposureProgram": "2",
"ISOSpeedRatings": "100",
"UndefinedTag:0x8830": "2",
"UndefinedTag:0x8832": "100",
"ExifVersion": "0230",
"DateTimeOriginal": "2011:12:31 17:07:29",
"DateTimeDigitized": "2011:12:31 17:07:29",
"ComponentsConfiguration": "u0001u0002u0003",
"CompressedBitsPerPixel": "1/1",
"BrightnessValue": "23234/2560",
"ExposureBiasValue": "0/10",
"MaxApertureValue": "55/16",
...
},
"GPS": {
"GPSVersion": "u0002u0003",
"GPSLatitudeRef": "N",
"GPSLatitude": [
"41/1",
"53/1",
"23487/1000"
],
"GPSLongitudeRef": "E",
"GPSLongitude": [
"12/1",
"29/1",
"10362/1000"
],
...
},
"INTEROP": {
"InterOperabilityIndex": "R98",
"InterOperabilityVersion": "0100"
}
}