icon
password
在备份几年前的旧照片到 iCloud 时,发现导入照片在 iCloud 上的时间线有误,显示为照片的导入时间,而非照片的拍摄时间。
照片在拍摄时,有一些元信息存储在 Exif 中,包括拍摄时间、拍摄时间等。在导入 iCloud 时,希望根据照片的拍摄时间进行显示,这样在看到照片时,能够回忆起拍摄时的场景。
<!--more-->
安装 jhead
jhead 是一个可以编辑图片元信息到命令行工具。
Jhead is a command line driven program for manipulating the non-image parts of Exif flavour JPEG files that most digital cameras produce.
Things jhead can extract from an Exif jpeg file
- Time and date picture was taken
- Camera make and model
- Integral low-res Exif thumbnail
- Shutter speed
- Camera F-stop number
- Flash used (yes/no)
- Distance camera was focused at
- Focal length and calculate 35 mm equivalent focal length
- Image resolution
- GPS info, if stored in image
- IPTC header
- XMP data
Things jhead can modify in an exif jpeg file
- Up-right images according to rotation tag using jpegtran
- Set or relative adjust internal exif timestamps
- Fix date / time offsets in large batches of images
- Re-name or date stamp files according to exif timestamp
- Transfer exif headers between images
- Replace thumbnails inside Exif headers
- Edit jpeg comments (but not the Exif comments)
- Delete exif or comment sections from jpeg images
- Create new minimal exif header containing date and thumbnail
查看照片Exif 信息
修改照片时间
Exif 信息
Exchangeable image file format: 可交换图像文件,记录数码相机照片的元信息,包括属性信息和拍摄数据。
标签号 | Exif 定义名 | 中文定义名 | 备注 |
0x010E | ImageDescription | 图像描述 | ㅤ |
0x013B | Artist | 作者 | ㅤ |
0x010F | Make | 生产商 | ㅤ |
0x0110 | Model | 型号 | 相机型号 |
0x0112 | Orientation | 方向 | ㅤ |
0x011A | XResolution | 水平方向分辨率 | ㅤ |
0x011B | YResolution | 垂直方向分辨率 | ㅤ |
0x0128 | ResolutionUnit | 分辨率单位 | ㅤ |
0x0131 | Software | 软件 | 固件 Firmware 版本或者编辑软件 |
0x0132 | DateTime | 日期和时间 | 照片最后修改时间 |
0x0213 | YCbCrPositioning | YCbCr 定位 | ㅤ |
0x8769 | ExifOffset | Exif 子 IFD 偏移量 | ㅤ |
0x829A | ExposureTime | 曝光时间 | 快门速度 |
0x829D | FNumber | 光圈系数 | 光圈的 F 值 |
0x8822 | ExposureProgram | 曝光程序 | 自动曝光、光圈优先、快门优先、M 档等 |
0x8827 | ISOSpeedRatings | ISO 感光度 | ㅤ |
0x9000 | ExifVersion | Exif 版本 | ㅤ |
0x9003 | DateTimeOriginal | 拍摄时间 | 照片拍摄时间 |
0x9004 | DateTimeDigitized | 数字化时间 | 照片被写入时间 |
0x9204 | ExposureBiasValue | 曝光补偿 | ㅤ |
0x9205 | MaxApertureValue | 最大光圈 | ㅤ |
0x9207 | MeteringMode | 测光模式 | 平均测光、中央重点测光、点测光 |
0x9208 | Lightsource | 光源 | 一般记录白平衡 |
0x9209 | Flash | 闪光灯 | 闪光灯状态 |
0x920A | FocalLength | 镜头焦距 | 镜头物理焦距 |
0x927C | MakerNote | 厂商注释 | ㅤ |
0x9286 | UserComment | 用户注释 | ㅤ |
0xA000 | FlashPixVersion | FlashPix 版本 | ㅤ |
ㅤ | ColorSpace | 色彩空间 | AdobeRGB、sRGB 等 |
ㅤ | ExifImageWidth | 图像宽度 | ㅤ |
0xA003 | ExifImageLength | 图像高度 | ㅤ |
0xA433 | LensMake | 镜头生产商 | ㅤ |
0xA434 | LensModel | 镜头型号 | ㅤ |
- 作者:imesong
- 链接:https://11it.com/article/get_photos_time
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。