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?