在線獲取圖片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}}
}