exiftool / exiftool

ExifTool meta information reader/writer

Home Page:https://exiftool.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Certain metadata fields are not visible in macOS

utkusen opened this issue · comments

Hello,

I'm analyzing the following PDF file http://www.africau.edu/images/default/sample.pdf

In macOS Big Sur, exiftool provides the following output:

% exiftool sample.pdf 
ExifTool Version Number         : 12.38
File Name                       : sample.pdf
Directory                       : .
File Size                       : 2.8 KiB
File Modification Date/Time     : 2022:01:03 14:20:32+01:00
File Access Date/Time           : 2022:01:03 14:24:41+01:00
File Inode Change Date/Time     : 2022:01:03 14:20:32+01:00
File Permissions                : -rw-r--r--
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : No
Warning                         : Invalid xref table

In Ubuntu, it provides the following output:

ExifTool Version Number         : 11.88
File Name                       : sample.pdf
Directory                       : .
File Size                       : 6.8 kB
File Modification Date/Time     : 2021:12:27 21:02:13+01:00
File Access Date/Time           : 2021:12:27 21:02:13+01:00
File Inode Change Date/Time     : 2021:12:27 21:02:13+01:00
File Permissions                : rw-r--r--
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
Linearized                      : No
Page Count                      : 2
XMP Toolkit                     : Image::ExifTool 11.88
Creator                         : Rave (http://www.nevrona.com/rave)
PDF Version                     : 1.3
Producer                        : Nevrona Designs
Create Date                     : 2006:03:01 07:28:26

As you can see, Producer and Creator fields are visible in the Linux version, but not in macOS version.

Are you sure the PDF isn't corrupted on the Mac? On Windows using 12.38, the Creator and Producer tags correctly appear, as well as the CreateDate.

You are testing 3 different files. The file you tested on MacOS is 2.8 KiB, but the file you tested on Ubuntu is 6.8 kB, and the file you posted is 3.0 KiB.

Sorry for taking your time. PDF file on mac is somehow corrupted.