Linux 使用 jhead 查看 JPEG 照片的 EXIF

#Linux

JPEG 的照片想要查看 HEADER (EXIF) 的資訊,或者要修改 EXIF 的內容,要怎麼做呢?

Linux 使用 jhead 查看 JPEG 照片的 EXIF 資訊

Linux 有 jhead 可以作到查看、修改 EXIF 等資訊的功能

  • 官網:Exif Jpeg header manipulation tool
  • 安裝:apt install jhead
  • 操作:jhead example.jpg
    File name : example.jpg
    File size : 1494200 bytes
    File date : 2013:05:18 21:01:59
    Camera make : Canon
    Camera model : Canon EOS Kiss Digital N
    Date/Time : 2008:06:21 12:56:09 
    Resolution : 3456 x 2304 
    Orientation : rotate 270
    Flash used : No 
    Focal length : 24.0mm (35mm equivalent: 39mm)
    CCD width : 22.20mm
    Exposure time: 0.0025 s (1/400)
    Aperture : f/8.0
    ISO equiv. : 400
    Whitebalance : Auto
    Metering Mode: pattern
    JPEG Quality : 90

想要調整 EXIF 的修改時間,可以使用 -ta,如下範例:

  • Add 1 hourand 5 minutes to the time
    • jhead -ta+1:05
  • Decrease time by one second:
    • jhead -ta-0:0:1
  • 註:-ta: This option changes all Date/time fields in the exif header, including "DateTimeOriginal" (tag 0x9003) and "DateTimeDigitized" (tag 0x9004)

將 修改時間 對應到 EXIF 的 拍攝時間,使用 -ft

  • jhead -ft example.jpg
  • 註:-ft: Sets the file's system time stamp to what is stored in the Exif header.

瀏覽完整版本

相關文章

最新消息

  1. AI黑客半小時攻破網絡 港府推7大措施應對 中小企免費AI掃描12月1日起申請
  2. Arm CSS for Mobile 2生態成形:AI提速70%旗艦新機全面實裝
  3. 騰訊發布Hy3D 3.6生成式AI模型 強化高模結構與PBR材質 全球下載破653萬次
  4. House of Instagram盛會直擊:印度影帝沙魯克罕登台 獨家首播《KING》新曲
  5. 【CEDEC+KYUSHU 2026】製作人與編劇暢談「電馭叛客:邊緣行者」製作秘聞、跨越國界與業界障礙的衝突與協作幕後
  6. GO1選手在「SNK World Championship 2026 Finals」的餓狼傳說組別中獲勝!贏取150萬美元獎金
  7. 寶可夢30週年Special Music Video將於11月30日日本時間23時公開!歌曲為Official髭男dism的新曲「Evergreen」
  8. ROG發表搭載12顆按鍵的MMO/MOBA專用電競滑鼠「ROG Spatha X 65K」等3款新品!日本12月4日發售