2014.05.08 23:14 "[Tiff] what's up with all the seeking?", by Jeff Breidenbach

2014.05.09 20:57 "Re: [Tiff] what's up with all the seeking?", by Prophet of the Way

Jeff Breidenbach wrote:

Is TIFF fundamentally incompatible with streaming?

> $ pbmmake 1000 1000 | pnmtotiff -g4 > foo.tif


$ myprogram < foo.tif

TIFFFetchDirectory: stdin: Seek error accessing TIFF directory. TIFFReadDirectory: Failed to read directory at offset 40. Segmentation fault (core dumped)

Thank you for bringing up this subject.

I'm working on pamtotiff and tifftopnm. Currently, these programs use TIFF library functions directly for i/o. Newer versions of pamtotiff (pnmtotiff) and tifftopnm will be able to read from and write to pipes.

The code for pamtotiff has been tested and will be available in the "advanced" version of Neptbm, v. 10.67 scheduled for release in June 2014.

Note that Debian's Netpbm is a fork that is not following upstream developments. The above-mentioned functionality will not be available in Debian and Ubuntu packages unless someone steps up and changes this situation. The Fedora Netpbm package maintainer favors recent upstream source releases.