<font size=2 face="sans-serif">Hi list,</font>
<br>
<br><font size=2 face="sans-serif">Out of curiosity: Why isn't OpenSlide
already using this new version already?</font>
<br>
<br><font size=2 face="sans-serif">Yves</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Adam Goode <adam@spicenitz.org></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Agelos Pappas <agelos@smartcode.gr></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">openslide-users@lists.andrew.cmu.edu</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">18-06-12 00:49</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: BigTIFF
& libtiff library version</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:
</font><font size=1 face="sans-serif">openslide-users-bounces+sucaet=histogenex.com@lists.andrew.cmu.edu</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>If you want bigtiff functionality, please use libtiff
4.0 (or greater). Don't bother with the old/experimental version from </font><a href=http://bigtiff.org/><font size=3 color=blue><u>bigtiff.org</u></font></a><font size=3>.</font>
<p><font size=3>Adam</font>
<p><font size=3>On Jun 17, 2012 3:23 PM, "Agelos Pappas" <</font><a href=mailto:agelos@smartcode.gr><font size=3 color=blue><u>agelos@smartcode.gr</u></font></a><font size=3>>
wrote:</font>
<br><font size=3>Hello,<br>
<br>
I was trying to compile OpenSlide using the unofficial BigTIFF modified<br>
version of libtiff available here:</font><font size=3 color=blue><u><br>
</u></font><a href=http://bigtiff.org/ target=_blank><font size=3 color=blue><u>http://bigtiff.org/</u></font></a><font size=3><br>
<br>
in order to add support for BigTIFF in OpenSlide. Although I was able to<br>
compile BigTIFF and then OpenSlide successfully, I was getting runtime<br>
errors signifying that there was a problem in the libtiff library.<br>
I tried to test the library with an Aperio SVS file that previously<br>
worked fine, but was now giving errors.<br>
<br>
Specifically the problem was in this call:<br>
openslide-hash.c, Line 117:<br>
<br>
if (TIFFGetField(tiff, TIFFTAG_TILEBYTECOUNTS, &sizes) == 0)<br>
<br>
Even though TIFFGetField returned a correct value, the sizes pointer did<br>
not receive a value. The TIFFGetField function is implemented in<br>
tifflib, in the file tif_dir.c:<br>
<br>
This is an extract from libtiff<br>
case TIFFTAG_TILEBYTECOUNTS:<br>
_TIFFFillStriles( tif );<br>
*va_arg(ap, uint64**) = td->td_stripbytecount;<br>
break;<br>
<br>
in the modified BigTIFF libtiff version, the equivalent implementation<br>
looks like this (tif_dir.c):<br>
case TIFFTAG_TILEBYTECOUNTS:<br>
*va_arg(ap, uint32**) = td->td_stripbcsbuf;<br>
break;<br>
<br>
As you can see, the call to _TIFFFillStriles( tif ) is missing from the<br>
BigTIFF version and the function is nowhere defined. Thus OpenSlide does<br>
not work when built against the BigTIFF version.<br>
Does OpenSlide use a modified libtiff version? Has anyone else managed<br>
to add support for BigTIFF? Is there an official version of libtiff<br>
supporting BigTIFF?<br>
<br>
Regards<br>
Agelos<br>
<br>
<br>
_______________________________________________<br>
openslide-users mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:openslide-users@lists.andrew.cmu.edu"><font size=3 color=blue><u>openslide-users@lists.andrew.cmu.edu</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users" target=_blank><font size=3 color=blue><u>https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users</u></font></a><tt><font size=2>_______________________________________________<br>
openslide-users mailing list<br>
openslide-users@lists.andrew.cmu.edu<br>
</font></tt><a href="https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users"><tt><font size=2>https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>
<HR><BR>WARNING: This e-mail, including any attachments, may contain CONFIDENTIAL INFORMATION, including privileged and/or health information. It is for the sole use of the intended recipients. Any unauthorized copying, disclosure, distribution, reproduction, use or retention of this email or the information in it, is strictly FORBIDDEN. If you are not an intended recipient, please notify the sender immediately (REPLY this e-mail) and permanently DELETE the related e-mail. Please be aware that this email and replies to it may be monitored by the sender's company for quality assurance, policy compliance and/or security purposes.
<br>