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

2010.02.17 15:43 "Re: [Tiff] Using libtiff in Visual C++ 6.0", by Toby Thain

On 17-Feb-10, at 10:16 AM, Gerben Vos wrote:

He is not currently using a libtiff DLL, because he implemented TIFF reading and writing from scratch himself.

> He did download a libtiff DLL from gnuwin32 ( http://

) to see if he could use gnuwin32.sourceforge.net/packages/tiff.htm it, but hasn't succeeded in linking to it.

Weichao,

you could try to download not just the "Binaries" from there, but also the "Developer files". The lib directory in that zip file contains a libtiff.lib, which might work with MSVC. It also contains the include files like tiff.h that you will need.

Or he could take the suggestion made by someone else in this thread of simply building from source in VC6, including the dependent libraries (ZLIB, JPEG) which build quite easily with recent VC (don't remember about v6).

--Toby

>

                                         Gerben.

-----Original Message-----

> From: tiff-bounces@lists.maptools.org [mailto:tiff- > bounces@lists.maptools.org] On Behalf Of Edward Lam

>> It sounds like you've got libtiff to build and work, the question is

>> how to handle compression?

No. I've implemented the functionalities from scratch in VC++6. Therefore no compression ability.

I just thought that I can use libtiff as a DLL and use functions as TIFFReadEncodedStrip() etc without compiling libtiff myself.

I'm a bit confused. Where (or how) did you obtain the libtiff DLL that you are currently using?

> Tiff mailing list: Tiff@lists.maptools.org http:// > lists.maptools.org/mailman/listinfo/tiff