AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.04.08 22:49 "Trouble displaying TIFF image", by Randall Emery
2002.04.11 05:12 "Re: Trouble displaying TIFF image", by Jason Summers

2002.04.11 05:12 "Re: Trouble displaying TIFF image", by Jason Summers

Randall Emery wrote:
>

I'm doing this translation using the LoadTIFFinDIB function, which is defined in \contrib\win95\tiff2dib.c of the libtiff 3.5.7 download for windows.

As far as I can tell, tiff2dib.c/LoadTIFFinDIB does not work at all except for color images with exactly 8 or 24 bits/pixel. (Even then it has several other potentially significant problems.) For other image types, it will typically either crash or return an all-black bitmap of the correct size.

--
Jason Summers