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
April 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.04.01 21:12 "TIFFReadScanline and large compressed one-strip files", by Frank Warmerdam
2010.04.01 21:30 "Re: TIFFReadScanline and large compressed one-strip files", by Tom Lane
2010.04.01 21:52 "Re: TIFFReadScanline and large compressed one-strip files", by Chris Cox
2010.04.01 21:49 "Re: TIFFReadScanline and large compressed one-strip files", by Olivier Paquet
2010.04.02 07:29 "Re: TIFFReadScanline and large compressed one-strip files", by Joris Van Damme
2010.04.02 13:45 "Re: TIFFReadScanline and large compressed one-strip files", by Frank Warmerdam
2010.04.05 13:02 "Re: TIFFReadScanline and large compressed one-strip files", by Edward Lam

2010.04.02 13:45 "Re: TIFFReadScanline and large compressed one-strip files", by Frank Warmerdam

Folks,

Thanks for the feedback.

I'd like to whack the file producer upside the head, but other than a bit
of moral satisfaction it does not solve the problem at hand.

It is also not really ideal for my client to process the files externally.
They have a popular desktop application that they would like to have
support these files in a reasonably well performing way.

As Joris suggests, it would have been nice if libtiff had been implemented
with a streaming data flow into the decoders but it was not done that way
and I'm not inclined to restructure things to do that properly.

However, I am inclined to sort of fake a sort of streaming for those using
the TIFFReadScanline() interface by keeping only a window of the raw data
in the tif_rawdata buffer for this case.   It looks like I should be able to
this without actually changing the decoders as long as I am careful.

This is likely to be a substantial patch, and not one I am inclined to
incorporate in CVS before 4.0 final is released.  So it will likely live
in bugzilla as a patch for a while.  I'll send notice if I'm successful
with it.

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