Page 1 of 1

Documentformat corruption

Posted: Wed Mar 20, 2013 9:19 pm
by jasonk
I have a static .net class library in which I open images and make multiple calls. On image open, the caller is return the GDPicture image id and it passes that into any subsequent calls to the library. Normally this works great. However...

If I open a multi paage tiff, the DocumentFormat is correctly reported and TiffIsMultiPage reports true. On subsequent calls to my library I do a TiffSelectPage. When selecting page one, all is ok. When I select page two, three etc it fails and the GdPictureStatus return is "UnsupportedImageFormat". When I check the image format with a call to GetImageFormat it reports "DocumentFormatUNKOWN"

Any insight would be greatly appreciated.

Thanks,
Jason

Re: Documentformat corruption

Posted: Mon Mar 25, 2013 2:25 pm
by SamiKharma
Hi,

I am not sure I perfectly understand, and in any case, could you please attach the multipage file you are talking about.

Cheers,
Sami