GenericError when loading PDF

Discussions about PDF management.
Post Reply
MarkoZ
Posts: 19
Joined: Tue Jun 29, 2010 9:30 am

GenericError when loading PDF

Post by MarkoZ » Wed Jul 01, 2015 9:11 am

We have a large amount of machine generated PDF files used for testing purposes, which were all generated in the same way. One of these files always returns a GenericError, when we attempt to load it into GdPicturePDF using following code:

Code: Select all

                fileStream.Position = 0;
                Document = new GdPicturePDF();
                GdPictureStatus status = Document.LoadFromStream(fileStream);
                if (status != GdPictureStatus.OK)
                {
                    throw new ArgumentException("Loading image into GdPicture failed: " + status.ToString(), "fileStream");
                }
Adobe reader or Foxit reader display this document correctly, without any errors.
I've attached the file, so you can test it yourself. We're using the latest version of GDPicture.
Attachments
KizerPettus_THE CHARLESTON BAR LTD_si_obrazec_zahtevek_za_spremem_00000440.zip
(268.02 KiB) Downloaded 292 times

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GenericError when loading PDF

Post by Loïc » Fri Jul 03, 2015 1:10 pm

Hello Marco,

Thank you for the report. The problem has been reproduced and fixed for the next minor release.

Please let me know if you need further information.

With best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest