PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Aug 18, 2017 8:36 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Dec 24, 2015 5:50 pm 
Offline

Joined: Mon Dec 21, 2015 7:49 pm
Posts: 10
When trying to get page 2 of 2 of a file generated with PaperPort, PdfSharps throws an ArgumentOfRangeException. It's obviously failing to import the page. I attempted to attach the IssueSubmission form but it wont allow me to upload anything greater than 256 KiB. I did send an email an email to Stefan Lange on December 11th with the IssueSubmission and have yet to receive a response. I would appreciate it if someone would look into this and let me know if you plan on fixing it soon. Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 24, 2015 9:14 pm 
Offline
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 295
MJLaukala wrote:
but it wont allow me to upload anything greater than 256 KiB.
How large is the PDF file? How large is the IssueSubmission project after removing the BIN and OBJ folders and the NuGet packages?
December 16th was my last day at the office this year and I didn't hear anything from Stefan about this issue.

If PDFsharp cannot access the second page of a valid PDF file then we will try to fix it.

_________________
Ă–hmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 13, 2016 10:14 pm 
Offline

Joined: Mon Dec 21, 2015 7:49 pm
Posts: 10
() => true wrote:
MJLaukala wrote:
but it wont allow me to upload anything greater than 256 KiB.
How large is the PDF file? How large is the IssueSubmission project after removing the BIN and OBJ folders and the NuGet packages?
December 16th was my last day at the office this year and I didn't hear anything from Stefan about this issue.

If PDFsharp cannot access the second page of a valid PDF file then we will try to fix it.


Sorry for not getting back to you sooner. The bin, obj, and NuGet packages have already been removed. The issue is that it is a scanned pdf. The size of the file on disk is 920 KBs.

EDIT:
After compressing to a zip, the total submission size on disk is 520 KB.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 14, 2016 10:11 am 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2689
Location: Cologne, Germany
I received your file and I can replicate the problem.

Adobe Reader does not prompt to save the file, so I assume it is OK.
However after using "Save as" in Adobe Reader, I get a slightly larger file that works with PDFsharp.

I'll have a closer look at the file today, but as this is not my area of expertise this could be something that Stefan will have to investigate and most likely further feedback will come next week.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 18, 2016 5:31 pm 
Offline

Joined: Mon Dec 21, 2015 7:49 pm
Posts: 10
Thank you. I look forward to the feedback.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 10, 2016 9:58 pm 
Offline

Joined: Mon Dec 21, 2015 7:49 pm
Posts: 10
I'm just curious to know if there is any new information on this issue?


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 2 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:  
Powered by phpBB® Forum Software © phpBB Group