ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: artofit on May 05, 2019, 11:09:05 AM

Title: PDF missing info
Post by: artofit on May 05, 2019, 11:09:05 AM
Exiftool 11.39
OS: Win10 64bits

Hi,
thanks for Exifools.

When I execute:
exiftool -s SRC.pdf
I get
ExifTool Version Number         : 11.39
File Name                       : SRC.pdf
Directory                       : the directory of SRC.pdf
Warning                         : FileName encoding not specified
File Size                       : 741 kB
File Modification Date/Time     : 2019:03:15 14:35:16+01:00
File Access Date/Time           : 2019:05:05 17:43:07+02:00
File Creation Date/Time         : 2019:03:15 14:04:53+01:00
File Permissions                : rw-rw-rw-
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.7
Linearized                      : No
    1 directories scanned
    1 image files read


If I execute pdfinfo of xpdf-tools it can print
The 'Info' dictionary contains the following values:

              title
              subject
              keywords
              author
              creator
              producer
              creation date
              modification date

       In addition, the following information is printed:

              tagged (yes/no)
              form (AcroForm / static XFA / dynamic XFA / none)
              page count
              encrypted flag (yes/no)
              print and copy permissions (if encrypted)
              page size and rotation
              file size
              linearized (yes/no)
              PDF version
              metadata (only if requested)

So why ExifTool does NOT produce:
QuoteAuthor
Nb of pages
precise bytes size

Thanks

Thanks
Title: Re: PDF missing info
Post by: StarGeek on May 05, 2019, 11:41:47 AM
I'd suggest using
exiftool -G1 -s -a SRC.pdf
to make sure you're getting the full output of all the tags in the file as well as their location (see FAQ #3 (https://exiftool.org/faq.html#Q3)).

I'm not sure why you're not getting some of the info.  It might be specific to that pdf, as I get PageCount, as well as Author if it exists when testing 11.39 on some PDFs.

If you want precise byte size, you need to specify the -n (printConv) option (https://exiftool.org/exiftool_pod.html#n---printConv) or its hashtag shortcut.
exiftool -n -FileSize SRC.pdf
or
exiftool -Filesize# SRC.pdf
Title: Re: PDF missing info
Post by: Phil Harvey on May 07, 2019, 07:08:46 AM
If you send me the file I will take a look (philharvey66 at gmail.com)

- Phil