Exchangeable image file format
https://zh.wikipedia.org/wiki/EXIF
Exif 2.3官方标准(上面wiki内提取)
http://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf
https://www.media.mit.edu/pia/Research/deepview/exif.html
Python Exif 解析模块
https://pypi.org/project/exif/
JPEG Rotation and EXIF Orientation 字段,(图像旋转字段解读)
https://www.impulseadventure.com/photo/exif-orientation.html
图虫EXIF查看器
https://exif.tuchong.com/
imagemagick 分析工具 identify
https://imagemagick.org/script/identify.php
分析参考:
# magick identify -verbose /Users/bytedance/Downloads/Lark20210112-201836.jpeg
Image:
Filename: /Users/bytedance/Downloads/Lark20210112-201836.jpeg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 4032x3024+0+0
Resolution: 72x72
Print size: 56x42
Units: PixelsPerInch
Colorspace: sRGB
Type: TrueColor
Base type: Undefined
Endianness: Undefined
Depth: 8-bit
Channel depth:
Red: 8-bit
Green: 8-bit
Blue: 8-bit
Channel statistics:
Pixels: 12192768
Red:
min: 0 (0)
max: 255 (1)
mean: 89.0166 (0.349085)
median: 31 (0.121569)
standard deviation: 60.5416 (0.237418)
kurtosis: -0.572173
skewness: 0.588149
entropy: 0.94586
Green:
min: 0 (0)
max: 255 (1)
mean: 109.909 (0.431016)
median: 29 (0.113725)
standard deviation: 64.9169 (0.254576)
kurtosis: -1.18594
skewness: -0.20972
entropy: 0.94162
Blue:
min: 0 (0)
max: 255 (1)
mean: 133.504 (0.523543)
median: 35 (0.137255)
standard deviation: 73.5451 (0.288412)
kurtosis: -1.30359
skewness: -0.406024
entropy: 0.932756
Image statistics:
Overall:
min: 0

本文介绍了Exchangeable Image File Format (EXIF)标准,展示了如何使用Python的exifread模块解析JPEG图像的EXIF信息,重点讲解了Image Orientation字段的识别与图像旋转操作。通过案例详细解读了exifread库在处理EXIF数据时的应用。
最低0.47元/天 解锁文章
964





