Documentformat corruption

Discussions about image processing and document imaging.
Post Reply
jasonk
Posts: 5
Joined: Thu May 17, 2012 5:10 pm

Documentformat corruption

Post by jasonk » Wed Mar 20, 2013 9:19 pm

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

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: Documentformat corruption

Post by SamiKharma » Mon Mar 25, 2013 2:25 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests