large files in w32

Villalon, Elena villalel at
Mon Nov 28 10:35:25 EST 2011

Hi Benjamin, I did rebuild Openslide against libtiff 4 (beta release 7), which produces binaries libtiff-5.dll. When building openslide with libtiff-5.dll it just gets part of the image and truncates it. I have used libjpeg-8 and zlib to build libtiff-5.dll in Mingw32 but I do not know if I am missing another library or did not set up right something.  Windows is always trickier.  Elena

-----Original Message-----
From: Benjamin Gilbert [mailto:bgilbert at] 
Sent: Wednesday, November 23, 2011 11:16 PM
To: Villalon, Elena
Cc: openslide-users at
Subject: Re: large files in w32

On 11/18/2011 02:06 PM, Villalon, Elena wrote:
> I have compiled libtiff 4 beta with Mingw/msys, using libjpeg 8, and
> all the defaults.  I get the libtiff that opens large files (>  2GB)
> but it truncates the images. It also truncates the images with less
> than 2GB, and repeats the truncated image like tiles but missing a
> good part of it. If anybody knows if I am missing a parameter or some
> other settings please let me know.

Hi Elena,

I cannot reproduce this problem.  Did you rebuild OpenSlide against 
libtiff 4?  libtiff 4 is not ABI-compatible with libtiff 3.

--Benjamin Gilbert

No virus found in this message.
Checked by AVG -
Version: 2012.0.1873 / Virus Database: 2101/4634 - Release Date: 11/23/11

More information about the openslide-users mailing list