2009.03.27 22:42 "[Tiff] TIFFOpen throws access error", by

2009.03.30 18:26 "Re: [Tiff] TIFFOpen throws access error", by

Tiffinfo works fine with the files, the output reads thus:

TIFF Directory at offset 0x1c20008 <29491208>
   Image Width: 2560 Image Length: 1920
   Bits/Sample: 16
   Compression Scheme: None
   Photometric Interpretation: RGB color
   Samples/Pixel: 3
   Planar Configuration: single image plane

The photos also open fine in Photoshop and Microsoft Picture Viewer.

The only unusual thing about the files themselves is that they have

ten bits of resolution (stored in 16 bits) instead of the usual eight
bits.

I've tried hardcoding the inputs to the function call, thinking maybe

there was something wrong with my inputs, but it's still not working.

The error is logged as coming from the MSCVRT dll.

This sounds like it could be a libtiff bug, but it also be a bug in your own application. Does 'tiffinfo' work on your file? If so, what does it say?

> What happens when you run a utility like tiffinfo on the file?

>
> Can other programs (e.g. GIMP, eog, Photoshop, etc) open it?
>
> --Toby
>