2010.02.15 13:16 "[Tiff] Using libtiff in Visual C++ 6.0", by Weichao Wang

2010.02.15 18:19 "Re: [Tiff] Tiff Digest, Vol 69, Issue 9", by Spike McLarty

I've implemented reading, writing and dithering tiff in Visual C++ 6.0 for gray scale tiff image, but (unfortunately!!!) only for uncompressed tiff files (and not for tiled files), since I don't know the various (un)compression processes. Now I'd like to make use of libtiff to enable the programm to process compressed files. Is there a step by step guide on how to use libtiff in VC++6? Many thanks!

It sounds like you've got libtiff to build and work, the question is how to handle compression?

I use libtiff 3.7 in a scanning/imaging library that is built with MSVC 6 (though not for much longer...)

I can share some of my code. There isn't really any special code for handling compression during reading, libtiff just takes care of it. Actually,compression doesn't take much code either.

In fact, now that I look at the code, most of the complexity is in dealing with all the varieties, and quite a few 'oddities' of TIFFs we've encountered over the years...

My code uses a lower-level library to handle images in Windows 'DIB' format, don't know if that would make it unsuitable. E-mail me if are interested, spike@dosadi.com

-spike _/\_
the plural of “anecdote” is not “data”