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
May 2004

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

2004.05.19 14:16 "Images larger than 2 gigabytes", by Ben Harper
2004.05.19 16:56 "Re: Images larger than 2 gigabytes", by Frank Warmerdam

2004.05.19 16:56 "Re: Images larger than 2 gigabytes", by Frank Warmerdam

Ben Harper wrote:
> Hi All-
> I'm trying to use libtiff to handle images that exceed 2 gigabytes,
> but it appears that the library is unable to read files of that size.
> Is this true? I cannot find any postings or documentation
> on the limits of the library. Could somebody please clarify this
> for me so that I can either fix the problem or abandon this effort.
> I do believe that I could try redefining toff_t and some others to
> __int64, and replacing GetFileSize with GetFileSizeEx, etc, etc,
> but I'm not certain if the whole library is geared for that.

Ben,

TIFF only supports files up to 4GB.  Libtiff should support files of up to
4GB on most platforms, using an "unsigned long" for toff_t.  It is required
that an appropriate low level 64 bit file access API be used as is done in
tif_win32.c.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent