Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

PdfDecoder exception - DestSize must be greater than 0.

Last post 20 Jun 2007, 1:07 PM by loufranco. 1 replies.
Sort Posts: Previous Next
  •  08 Jun 2007, 10:45 AM 12171

    PdfDecoder exception - DestSize must be greater than 0.

    I was trying to decode a bunch of pdf's into multi page Tiffs using DotImage 4.0h and the PDF rasteriser add-on, basically using code from this article (http://www.atalasoft.com/kb/article.aspx?id=10125&cNode=). It works great for over 80% of my sample pdfs, however there are a few which throw a 'DestSize must be greater than 0' exception on this line: 

     AtalaImage img = pdfDecoder.Read(inStream, i, null);

    The values the pdfDecoder is getting from the inStream are something like x=-2600; y=-3400. Opening these PDFs up in Acrobat is ok. Exporting the images in Acrobat also works fine. I've checked/added tags to the PDF and still had no success. The page dimension figures reported per image within Acrobat are also fine. I should also add that this exception is only thrown on certain pages, ie. it could read the first 3 pages fine but then throw the exception on the 4th. I've examined the problem page over and over in Acrobat and found nothing funny about them.

    Has anyone else encountered this problem before?

  •  20 Jun 2007, 1:07 PM 12219 in reply to 12171

    Re: PdfDecoder exception - DestSize must be greater than 0.

    Please open a support case using

    http://www.atalasoft.com/support

    You can attach a sample PDF so that we can take a look at it.

     Also, try opening it with the PDF Demo that is installed with the product.

     

View as RSS news feed in XML