BigTIFF & libtiff library version

Agelos Pappas agelos at smartcode.gr
Mon Jun 18 06:38:34 EDT 2012


Thank you Adam, it worked like a charm! I didn't really know that there 
was official support for BigTIFF in libtiff.

Cheers
Agelos

On 18/6/2012 1:48 πμ, Adam Goode wrote:
>
> If you want bigtiff functionality, please use libtiff 4.0 (or 
> greater). Don't bother with the old/experimental version from 
> bigtiff.org <http://bigtiff.org>.
>
> Adam
>
> On Jun 17, 2012 3:23 PM, "Agelos Pappas" <agelos at smartcode.gr 
> <mailto:agelos at smartcode.gr>> wrote:
>
>     Hello,
>
>     I was trying to compile OpenSlide using the unofficial BigTIFF
>     modified
>     version of libtiff available here:
>     http://bigtiff.org/
>
>     in order to add support for BigTIFF in OpenSlide. Although I was
>     able to
>     compile BigTIFF and then OpenSlide successfully, I was getting runtime
>     errors signifying that there was a problem in the libtiff library.
>     I tried to test the library with an Aperio SVS file that previously
>     worked fine, but was now giving errors.
>
>     Specifically the problem was in this call:
>     openslide-hash.c, Line 117:
>
>     if (TIFFGetField(tiff, TIFFTAG_TILEBYTECOUNTS, &sizes) == 0)
>
>     Even though TIFFGetField returned a correct value, the sizes
>     pointer did
>     not receive a value. The TIFFGetField function is implemented in
>     tifflib, in the file tif_dir.c:
>
>     This is an extract from libtiff
>             case TIFFTAG_TILEBYTECOUNTS:
>                 _TIFFFillStriles( tif );
>                 *va_arg(ap, uint64**) = td->td_stripbytecount;
>                 break;
>
>     in the modified BigTIFF libtiff version, the equivalent implementation
>     looks like this (tif_dir.c):
>         case TIFFTAG_TILEBYTECOUNTS:
>                 *va_arg(ap, uint32**) = td->td_stripbcsbuf;
>                 break;
>
>     As you can see, the call to _TIFFFillStriles( tif ) is missing
>     from the
>     BigTIFF version and the function is nowhere defined. Thus
>     OpenSlide does
>     not work when built against the BigTIFF version.
>     Does OpenSlide use a modified libtiff version? Has anyone else managed
>     to add support for BigTIFF? Is there an official version of libtiff
>     supporting BigTIFF?
>
>     Regards
>     Agelos
>
>
>     _______________________________________________
>     openslide-users mailing list
>     openslide-users at lists.andrew.cmu.edu
>     <mailto:openslide-users at lists.andrew.cmu.edu>
>     https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
>
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 2012.0.2180 / Virus Database: 2433/5075 - Release Date: 06/17/12
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20120618/d17e6ee5/attachment-0001.html 


More information about the openslide-users mailing list