AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2010

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2010.03.16 19:45 "TIFFVStripSize overflow, JPEG decoding", by Lee Cooper
2010.03.16 21:08 "Re: TIFFVStripSize overflow, JPEG decoding", by Bob Friesenhahn
2010.03.17 20:19 "Re: TIFFVStripSize overflow, JPEG decoding", by Adam Goode
2010.03.17 21:36 "Re: TIFFVStripSize overflow, JPEG decoding", by Tom Lane
2010.03.18 00:11 "Re: TIFFVStripSize overflow, JPEG decoding", by Adam Goode
2010.03.16 22:34 "Re: TIFFVStripSize overflow, JPEG decoding", by Lee Cooper
2010.03.17 16:42 "Re: TIFFVStripSize overflow, JPEG decoding", by Jason Summers
2010.03.17 20:18 "Re: TIFFVStripSize overflow, JPEG decoding", by Adam Goode
2010.03.17 20:59 "Re: TIFFVStripSize overflow, JPEG decoding", by Lee Cooper
2010.03.18 00:15 "Re: TIFFVStripSize overflow, JPEG decoding", by Adam Goode
2010.03.18 02:40 "Re: TIFFVStripSize overflow, JPEG decoding", by Olivier Paquet
2010.03.19 15:52 "Re: TIFFVStripSize overflow, JPEG decoding", by Adam Goode
2010.03.19 16:39 "Re: TIFFVStripSize overflow, JPEG decoding", by Bob Friesenhahn
2010.03.19 18:18 "Re: TIFFVStripSize overflow, JPEG decoding", by Adam Goode
2010.03.19 23:43 "Re: TIFFVStripSize overflow, JPEG decoding", by Bob Friesenhahn

2010.03.19 15:52 "Re: TIFFVStripSize overflow, JPEG decoding", by Adam Goode

On 03/17/2010 10:40 PM, Olivier Paquet wrote:
> On Wed, Mar 17, 2010 at 8:15 PM, Adam Goode <adam@spicenitz.org> wrote:
>>>
>>> I already tried using libtiff 4.0.2 to read the header and encountered
>>> the same overflow message.  From what I can tell TIFFVStripSize still
>>> uses 32-bit representation in 4.0.2.
>>>
>>
>> Interesting, I did get tiffinfo from CVS to read the header. Possibly
>> there was some fix there not in the beta, or possibly it was because I
>> compiled it on a 64-bit machine?
> 
> Yes, TIFFVStripSize returns tmsize_t which is pointer sized. So it
> will be fine on 64-bit systems with libtiff 4.
> 

Hmm, this seems a little odd. I would expect libtiff 4 to not have any
machine-specific sizes, but to instead use the same size types on all
architectures. It makes reading this kind of file problematic across
systems.

Since this NDPI file is really a horrible abuse of TIFF, I'm not too
upset that libtiff can't read it. But it would be nice if libtiff could
give a tiffdump-like option of just reading headers without interpreting
them too much. This is all that is needed for this kind of file.


Adam