Hello
I'm trying to load the attached PDF as an XPdfForm to render some of its contents into another PDF. The PDF itself has been generated by PDFSharp.
The exception I'm getting is at line 250 of PdfSharp.SharpZipLib.Zip.Compression.Inflater.cs :
Code:
if (header % 31 != 0)
{
throw new SharpZipBaseException("Header checksum illegal");
}
I'm trying to load it like this:
Code:
var filepath = "C:\\test3.pdf";
pdfForm = XPdfForm.FromFile(filepath);
gfx.DrawImage(pdfForm, new XPoint());
I didn't manage to attach the file (the website keeps telling me that the "image" I uploaded was invalid), so here it can be downloaded:
https://dl.dropboxusercontent.com/u/35614983/test3.pdfIs there an explanation for this exception, or is it a bug in PDFSharp or SharpZipLib?
Thank you very much!
Best regards!