exiftool 提取图片信息

图片信息:GPS,设备信息等

Kali 使用举例

复制代码
root@kali:~/Desktop/Tools# git clone https://github.com/exiftool/exiftool.git
正克隆到 'exiftool'...
remote: Enumerating objects: 15847, done.
remote: Counting objects: 100% (1320/1320), done.
remote: Compressing objects: 100% (1031/1031), done.
remote: Total 15847 (delta 944), reused 504 (delta 287), pack-reused 14527
接收对象中: 100% (15847/15847), 19.84 MiB | 1.06 MiB/s, 完成.
处理 delta 中: 100% (13759/13759), 完成.
root@kali:~/Desktop/Tools# cd exiftool/
root@kali:~/Desktop/Tools/exiftool# ls
arg_files         exiftool   Makefile.PL  perl-Image-ExifTool.spec  validate
build_tag_lookup  fmt_files  MANIFEST     pp_build_exe.args         windows_exiftool
Changes           html       META.json    README
config_files      lib        META.yml     t
root@kali:~/Desktop/Tools/exiftool# ./exiftool -h
Syntax:  exiftool [OPTIONS] FILE

Consult the exiftool documentation for a full list of options.
root@kali:~/Desktop/Tools/exiftool# ./exiftool /root/Desktop/2.jpg               #网上下的图片
ExifTool Version Number         : 12.36
File Name                       : 2.jpg
Directory                       : /root/Desktop
File Size                       : 168 KiB
File Modification Date/Time     : 2020:07:05 19:33:26-04:00
File Access Date/Time           : 2021:11:17 09:27:50-05:00
File Inode Change Date/Time     : 2021:11:17 09:27:50-05:00
File Permissions                : -rwxrw-rw-
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
JFIF Version                    : 1.01
Resolution Unit                 : inches
X Resolution                    : 300
Y Resolution                    : 300
Image Width                     : 960
Image Height                    : 600
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:4:4 (1 1)
Image Size                      : 960x600
Megapixels                      : 0.576
root@kali:~/Desktop/Tools/exiftool# ./exiftool /root/Desktop/32.jpg             #自己手机拍的
ExifTool Version Number         : 12.36
File Name                       : 32.jpg
Directory                       : /root/Desktop
File Size                       : 70 KiB
File Modification Date/Time     : 2021:11:17 09:44:32-05:00
File Access Date/Time           : 2021:11:17 09:52:30-05:00
File Inode Change Date/Time     : 2021:11:17 09:52:30-05:00
File Permissions                : -rwxrw-rw-
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Big-endian (Motorola, MM)
Light Source                    : Unknown
Orientation                     : Unknown (0)
Modify Date                     : 2021:11:17 22:43:55
JFIF Version                    : 1.01
Resolution Unit                 : None
X Resolution                    : 1
Y Resolution                    : 1
Profile CMM Type                : 
Profile Version                 : 2.1.0
Profile Class                   : Display Device Profile
Color Space Data                : RGB
Profile Connection Space        : XYZ
Profile Date Time               : 0000:00:00 00:00:00
Profile File Signature          : acsp
Primary Platform                : Unknown ()
CMM Flags                       : Not Embedded, Independent
Device Manufacturer             : 
Device Model                    : 
Device Attributes               : Reflective, Glossy, Positive, Color
Rendering Intent                : Media-Relative Colorimetric
Connection Space Illuminant     : 0.9642 1 0.82491
Profile Creator                 : 
Profile ID                      : 0
Profile Description             : sRGB
Red Matrix Column               : 0.43607 0.22249 0.01392
Green Matrix Column             : 0.38515 0.71687 0.09708
Blue Matrix Column              : 0.14307 0.06061 0.7141
Red Tone Reproduction Curve     : (Binary data 40 bytes, use -b option to extract)
Green Tone Reproduction Curve   : (Binary data 40 bytes, use -b option to extract)
Blue Tone Reproduction Curve    : (Binary data 40 bytes, use -b option to extract)
Media White Point               : 0.9642 1 0.82491
Profile Copyright               : Google Inc. 2016
Image Width                     : 720
Image Height                    : 960
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Image Size                      : 720x960
Megapixels                      : 0.691
复制代码

windows下的类似工具:Foca

posted @   z9m8r8  阅读(358)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示