AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1998.01.16 14:56 "Re: Opening a tiff image using VC++", by Nick Westwood
1999.01.18 09:11 "Re: Opening a tiff image using VC++", by François Bonnin
1999.01.18 12:06 "Re: Opening a tiff image using VC++", by Gerben Vos
1999.01.18 16:17 "RE: Opening a tiff image using VC++", by Sim Zacks
1999.01.18 20:22 "RE: Opening a tiff image using VC++", by Ulrich von Zadow

1998.01.16 14:56 "Re: Opening a tiff image using VC++", by Nick Westwood

I'm using VC++ 4 (soon to switch to VC++ 5) and successfully compiled the library into a static lib and a dll. I found a C++ library on the net called PaintLib and took their modifications and applied them to TIFFLIB. Seems to work fine. I've used it to write some tools to append single tif files into multi-page ones and split them out again. I need to write a viewer now though and I'm having lots of problems displaying a tif file under Win95/NT. I've tried to use the tif2dib contribution supplied with TIFFLIB and though it compiles fine into the library and seems to return a valid handle to a DIB, I can't get it to do anything but display a black rectangle. If anyone on the list has had any success with displaying tif files under Windows I'd love to hear from them - this is driving me nuts and I'm sure I cant be the only one who wants to do this. If anyone has any sample code or could give me any helpful pointers I would be very, very, very grateful.

Regards
Nick Westwood