Page 1 of 1

Error inport a pdf file

Posted: Tue Jun 26, 2018 10:41 am
by dkaip
Importing a pdf file i take errors...

13:19:29: wxPdfParser::SetupDecryptor: Unknown encryption type (4).
13:19:29: wxPdfParser::SetupDecryptor: Unsupported V value.
13:19:29: wxPdfDocument::SetSourceFile: Parser creation failed.

I just upload a pdf file with extension txt because server dont except pad files.

YThank you
Jim

Re: Error inport a pdf file

Posted: Tue Jun 26, 2018 1:59 pm
by utelle
dkaip wrote:Importing a pdf file i take errors...

13:19:29: wxPdfParser::SetupDecryptor: Unknown encryption type (4).
13:19:29: wxPdfParser::SetupDecryptor: Unsupported V value.
13:19:29: wxPdfDocument::SetSourceFile: Parser creation failed.

I just upload a pdf file with extension txt because server dont except pad files.
Your sample PDF file is encrypted with encryption method AESV2 (symbol in wxPdfDocument: wxPDF_ENCRYPTION_AESV2) (corresponding to V(ersion)=4 and R(evision)=4). Although this method is supported by wxPdfDocument for encrypting new documents, it is currently not supported for parsing existing PDF documents, unfortunately. That is, wxPdfDocument is currently not able to import pages from such PDF documents.

Regards,

Ulrich