在线获取图片EXIF信息

Exif是用来记录拍摄图像时的各种信息:图像信息(厂商,分辨率等),相机拍摄记录(ISO,白平衡,饱和度,锐度等),缩略图(缩略图宽度,高度等),gps(拍摄时的经度,纬度,高度)等,将这些信息按照JPEG文件标准放在图像文件头部。

请输入图片网址或上传本地图片。
结果
免费API接口
API请求地址:
GET https://api.webmasterapi.com/v1/exif/[apiKey]/[image_url]
请求参数:
apiKey [必需] 您的apiKey。
image_url [必需] 图片URL
https://api.webmasterapi.com/v1/exif/test-apiKey/https://static.webmasterapi.com/test/thorsmork.jpg
API请求地址:
POST https://api.webmasterapi.com/v1/exif
请求参数:
apiKey [必需] 您的apiKey。
base64 [必需] 请以Base64格式提交图片。
{
"apiKey":"test-apiKey",
"base64":"data:image/jpg;base64,iVBORw0KGgoAAAAN....."
}
API返回结果:
{
code: 1,
results: {
format: "jpeg",
width: 1500,
height: 1000,
space: "srgb",
channels: 3,
depth: "uchar",
density: 300,
chromaSubsampling: "4:2:0",
isProgressive: false,
hasProfile: false,
hasAlpha: false,
orientation: 1,
exif: {ExposureTime: 0.0005, FNumber: 5, ExposureProgram: "Shutter priority", ISO: 400, ExifVersion: "2.2.1",…},
ifd0: {Make: "NIKON CORPORATION", Model: "NIKON D700", Orientation: "Horizontal (normal)", XResolution: 300,…},
ifd1: {Compression: 6, XResolution: 300, YResolution: 300, ResolutionUnit: "inches", ThumbnailOffset: 38984,…},
gps: {GPSVersionID: "2.2.0.0"},
interop: {InteropIndex: "R98", InteropVersion: {0: 48, 1: 49, 2: 48, 3: 48}}
}