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}}
}