PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Jun 27, 2022 11:12 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed May 11, 2022 5:56 pm 
Offline

Joined: Wed May 11, 2022 5:12 pm
Posts: 3
PdfSharp is not able to flate decode.
Predictor 12 - and throws "Invalid predictor in array"
i have added a link to the pdf file so you can reproduce it.

https://drive.google.com/file/d/1JRxU4P ... sp=sharing


Top
 Profile  
Reply with quote  
PostPosted: Thu May 12, 2022 8:50 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 726
Location: CCAA
Klask wrote:
PdfSharp is not able to flate decode.
Right, PDFsharp can't do that.
PDFsharp relies on external libraries to do the flate decoding.
Fixing it may not be that simple.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Sun May 22, 2022 2:42 pm 
Offline

Joined: Wed May 11, 2022 5:12 pm
Posts: 3
Can you guide me in the correct direction? i really need to fix this


Top
 Profile  
Reply with quote  
PostPosted: Sun May 22, 2022 3:33 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 726
Location: CCAA
Ensure the issue is fixed with the latest version of SharpZipLib. Fix it if not.
Integrate the latest version of SharpZipLib with PDFsharp.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Tue May 24, 2022 5:55 am 
Offline

Joined: Wed May 11, 2022 5:12 pm
Posts: 3
Thanks Thomas,

It looks like there is an updated version of the SharpZipLib compared to what is used in PDFsharp (1.50.5147)
I will try to see if i can get it working.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 10, 2022 7:05 pm 
Offline

Joined: Fri Jun 10, 2022 7:03 pm
Posts: 1
I am having the same issue with certain pdfs. Did you have any luck finding a fix for this?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group