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
January 2007

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

2007.01.15 15:12 "TiffOpen opens file too long", by Tomasz Bywalec
2007.01.15 15:42 "Re: TiffOpen opens file too long", by Joris Van Damme
2007.01.15 16:06 "Re: TiffOpen opens file too long", by Tomasz Bywalec
2007.01.15 17:56 "Re: TiffOpen opens file too long", by Joris Van Damme
2007.01.16 00:39 "Re: TiffOpen opens file too long", by Tomasz Bywalec
2007.01.16 12:27 "Re: TiffOpen opens file too long", by Mateusz Loskot

2007.01.15 15:12 "TiffOpen opens file too long", by Tomasz Bywalec

Hi,

I compiled libTiff 3.8.2 library for PocketPC platform, using Visual C++ 
2005 compiler (with optimalization turned on). I use it to open quite 
large (about 12000x8000) black-and-white images. I noticed that TiffOpen 
spends about 2 seconds just opening the file and reading it's directory 
(reading and decoding stripes is much faster, so I think that it's not 
because of slow I/O or something like that). With option 'h' (read 
header only), TiffOpen returns almost immediately, so I suppose that it 
spends so much time on reading file's first directory. And here's my 
question - is it possible to speed up the execution of TiffOpen 
(including: opening the file and reading it's directory), in that case ?

Just in case - images, which my program reads, are usually divided in 
stripes, each having height of about 30 pixels (so file consists of few 
hundred stripes).

Thanks for any reply,
Tomasz Bywalec