阿里云:
1.获取基本信息 @info
http://image-demo.img.aliyuncs.com/example.jpg@info
{ "height": 267, "size": 21839, "width": 400 }
2.获取exif信息 @exif
http://image-demo.img.aliyuncs.com/f.jpg@exif
没有 exif 信息的图片示例 < Error> < Code>BadRequest< /Code> < Message>Image has no exif info.< /Message> < RequestId>5502D98553F47BFAB7F95B8C< /RequestId> < HostId>image-demo.img.aliyuncs.com< /HostId> < /Error>
包含 exif 信息的图片示例 { "Compression": {"value": "6"}, "DateTime": {"value": "2015:02:11 15:38:27"}, "ExifTag": {"value": "2212"}, "FileSize": {"value": "23471"}, "GPSLatitude": {"value": "0deg "}, "GPSLatitudeRef": {"value": "North"}, "GPSLongitude": {"value": "0deg "}, "GPSLongitudeRef": {"value": "East"}, "GPSMapDatum": {"value": "WGS-84"}, "GPSTag": {"value": "4292"}, "GPSVersionID": {"value": "2 2 0 0"}, "ImageHeight": {"value": "333"}, "ImageWidth": {"value": "424"}, "JPEGInterchangeFormat": {"value": "4518"}, "JPEGInterchangeFormatLength": {"value": "3232"}, "Orientation": {"value": "7"}, "ResolutionUnit": {"value": "2"}, "Software": {"value": "Microsoft Windows Photo Viewer 6.1.7600.16385"}, "XResolution": {"value": "96/1"}, "YResolution": {"value": "96/1"} }
七牛云:
(直接在图片后面添加 ?exif)
http://dn-odum9helk.qbox.me/resource/gogopher.jpg?exif
{ "ApertureValue": { "val": "5.00 EV (f/5.7)", "type": 5 }, "ColorSpace": { "val": "sRGB", "type": 3 }, "ComponentsConfiguration": { "val": "- - - -", "type": 7 }, "CustomRendered": { "val": "Normal process", "type": 3 }, "DateTime": { "val": "2011:11:19 17:09:23", "type": 2 }, "DateTimeDigitized": { "val": "2011:11:19 17:09:23", "type": 2 }, "DateTimeOriginal": { "val": "2011:11:19 17:09:23", "type": 2 }, "ExifVersion": { "val": "Unknown Exif Version", "type": 7 }, "ExposureBiasValue": { "val": "0.33 EV", "type": 10 }, "ExposureMode": { "val": "Auto exposure", "type": 3 }, "ExposureProgram": { "val": "Aperture priority", "type": 3 }, "ExposureTime": { "val": "1/50 sec.", "type": 5 }, "FNumber": { "val": "f/5.6", "type": 5 }, "Flash": { "val": "Flash did not fire, compulsory flash mode", "type": 3 }, "FlashPixVersion": { "val": "FlashPix Version 1.0", "type": 7 }, "FocalLength": { "val": "45.0 mm", "type": 5 }, "FocalPlaneResolutionUnit": { "val": "Inch", "type": 3 }, "FocalPlaneXResolution": { "val": "5728.18", "type": 5 }, "FocalPlaneYResolution": { "val": "5808.40", "type": 5 }, "ISOSpeedRatings": { "val": "3200", "type": 3 }, "Make": { "val": "Canon", "type": 2 }, "MaxApertureValue": { "val": "5.19 EV (f/6.0)", "type": 5 }, "MeteringMode": { "val": "Pattern", "type": 3 }, "Model": { "val": "Canon EOS 600D", "type": 2 }, "Orientation": { "val": "Top-left", "type": 3 }, "PixelXDimension": { "val": "640", "type": 4 }, "PixelYDimension": { "val": "427", "type": 4 }, "ResolutionUnit": { "val": "Inch", "type": 3 }, "SceneCaptureType": { "val": "Standard", "type": 3 }, "ShutterSpeedValue": { "val": "5.62 EV (1/49 sec.)", "type": 10 }, "SubSecTimeDigitized": { "val": "11", "type": 2 }, "SubSecTimeOriginal": { "val": "11", "type": 2 }, "SubsecTime": { "val": "11", "type": 2 }, "WhiteBalance": { "val": "Auto white balance", "type": 3 }, "XResolution": { "val": "72", "type": 5 }, "YResolution": { "val": "72", "type": 5 } }