Warning on protected PDFs, Meta Information can't be extracted

Started by bmn, May 25, 2019, 12:21:53 PM

Previous topic - Next topic

bmn

Hi,

I'm using ExifTool 11.44 Windows Standalone version.

I get the following warning on protected PDFs:
Warning: Install Digest::MD5 to process encrypted PDF - <<filename.pdf>>

The PDFs aren't read protected, but have some restrictions set.
The command line is: exiftool.exe -charset filename=latin "<<filename.pdf>>" -Producer

How can I get the Meta Information of this files, too?

Phil Harvey

That is odd.  Digest::MD5 should be included in the stand-alone version.  I'll have to look into this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

bmn

I just searched the Internet for an example file:
https://tcpdf.org/examples/example_016/

The PDF on this page raises the warning, for example.
I can confirm, that there's the file inc\lib\Digest\MD5.pm in my temp folder.

StarGeek

Very strange.  I downloaded that PDF and I can't reproduce your error.

C:\>exiftool -ver
11.44

C:\>exiftool  -charset filename=latin -producer "Y:\!temp\example_016.pdf"
Producer                        : TCPDF 6.2.11 (http://www.tcpdf.org)


Full output (without composite tags)
C:\>exiftool -g1 -a -s --Composite:all "Y:\!temp\example_016.pdf"
---- ExifTool ----
ExifToolVersion                 : 11.44
Warning                         : XMP format error (no closing tag for ïŸ)
Warning                         : [minor] Empty XMP
---- System ----
FileName                        : example_016.pdf
Directory                       : Y:/!temp
FileSize                        : 25 kB
FileModifyDate                  : 2019:05:25 12:19:25-07:00
FileAccessDate                  : 2019:05:25 12:19:25-07:00
FileCreateDate                  : 2019:05:25 12:19:25-07:00
FilePermissions                 : rw-rw-rw-
---- File ----
FileType                        : PDF
FileTypeExtension               : pdf
MIMEType                        : application/pdf
---- PDF ----
PDFVersion                      : 1.7
Linearized                      : No
Encryption                      : Standard V1.2 (40-bit)
UserAccess                      : Modify, Annotate, Fill forms, Extract, Assemble, Print high-res
PDFVersion                      : 1.7
PageCount                       : 1
PageLayout                      : SinglePage
PageMode                        : UseNone
Language                        : en
Title                           : TCPDF Example 016
Author                          : Nicola Asuni
Subject                         : TCPDF Tutorial
Keywords                        : TCPDF, PDF, example, test, guide
Creator                         : TCPDF
Producer                        : TCPDF 6.2.11 (http://www.tcpdf.org)
CreateDate                      : 2015:08:02 12:22:15+00:00
ModifyDate                      : 2015:08:02 12:22:15+00:00
Trapped                         : False


Maybe try deleting the exiftool temp files and trying again?
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

bmn

Hi,

thank you for the help. After deleting the temporary files, all is working like expected.

Sorry for the inconveniences :'( I should have tried this myself.