Debian
為什麼 mediainfo 不像 exiftool 那樣提供圖像的元數據?
很長一段時間以來,我一直在為此撓頭。讓我們看看 mediainfo 在一張圖片上說了什麼——
$ mediainfo ZQs3vcsHiGY.jpg General Complete name : ZQs3vcsHiGY.jpg Format : JPEG File size : 895 KiB Image Format : JPEG Width : 2 500 pixels Height : 1 576 pixels Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Compression mode : Lossy Stream size : 895 KiB (100%) ColorSpace_ICC : RGB
現在讓我們在 exiftool 中查看相同的圖像 -
$ exiftool ZQs3vcsHiGY.jpg ExifTool Version Number : 10.80 File Name : ZQs3vcsHiGY.jpg Directory : . File Size : 895 kB File Modification Date/Time : 2018:04:12 10:40:35+05:30 File Access Date/Time : 2018:04:15 12:43:28+05:30 File Inode Change Date/Time : 2018:04:12 10:40:35+05:30 File Permissions : rw-r--r-- File Type : JPEG File Type Extension : jpg MIME Type : image/jpeg JFIF Version : 1.01 Resolution Unit : inches X Resolution : 72 Y Resolution : 72 XMP Toolkit : XMP Core 4.4.0-Exiv2 Source URL : https://unsplash.com/photos/ZQs3vcsHiGY Source Type : unsplash Author : rawpixel.com Source Name : Unsplash.com Sfw Rating : 100 Image URL : https://unsplash.com/photos/ZQs3vcsHiGY/download Author URL : https://unsplash.com/@rawpixel Source Location : https://unsplash.com Creator : rawpixel.com Profile CMM Type : Linotronic Profile Version : 2.1.0 Profile Class : Display Device Profile Color Space Data : RGB Profile Connection Space : XYZ Profile Date Time : 1998:02:09 06:49:00 Profile File Signature : acsp Primary Platform : Microsoft Corporation CMM Flags : Not Embedded, Independent Device Manufacturer : Hewlett-Packard Device Model : sRGB Device Attributes : Reflective, Glossy, Positive, Color Rendering Intent : Perceptual Connection Space Illuminant : 0.9642 1 0.82491 Profile Creator : Hewlett-Packard Profile ID : 0 Profile Copyright : Copyright (c) 1998 Hewlett-Packard Company Profile Description : sRGB IEC61966-2.1 Media White Point : 0.95045 1 1.08905 Media Black Point : 0 0 0 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 Device Mfg Desc : IEC http://www.iec.ch Device Model Desc : IEC 61966-2.1 Default RGB colour space - sRGB Viewing Cond Desc : Reference Viewing Condition in IEC61966-2.1 Viewing Cond Illuminant : 19.6445 20.3718 16.8089 Viewing Cond Surround : 3.92889 4.07439 3.36179 Viewing Cond Illuminant Type : D50 Luminance : 76.03647 80 87.12462 Measurement Observer : CIE 1931 Measurement Backing : 0 0 0 Measurement Geometry : Unknown Measurement Flare : 0.999% Measurement Illuminant : D65 Technology : Cathode Ray Tube Display Red Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract) Green Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract) Blue Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract) Image Width : 2500 Image Height : 1576 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 : 2500x1576 Megapixels : 3.9
我去了 mediainfo 上游並看到了這個頁面,但無法理解要投票給哪個功能,因此它將提供更多元數據資訊。對於圖像。
我確實也搜尋了本地聯機幫助頁以及 –help 但無法走遠。我確實知道 mediainfo 更適合影片和音頻文件而不是圖像,但如果一個工具可以做到這一切,那就太好了。
我正在執行 exiftool 10.80-1 和
$ mediainfo --version MediaInfo Command line, MediaInfoLib - v18.03
關於 Debian 測試。
您正在尋找的是
mediainfo
支持 EXIF 元數據(據我所知,這不是該頁面上列出的提案之一)。如果你想要這個功能,你應該向他們推薦它。