AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.01.27 23:05 "latest libs - where?", by Paul Kaiser
[...]
2000.02.01 21:38 "Re: tiff2ps: G4 compression in PostScript]", by Paul Kaiser
2000.02.01 23:07 "Re: tiff2ps: G4 compression in PostScript]", by Helge Blischke
2000.02.04 02:43 "Re: tiff2ps: G4 compression in PostScript]", by Paul Kaiser
[...]

2000.02.01 23:07 "Re: tiff2ps: G4 compression in PostScript]", by Helge Blischke

You all have been very helpful in my quest for compressed tiffs in PostScript. I have but one more question on this topic.

I successfully embed TIFF data (uncompressed) inside PostScript by setting up all the right stuff (kind of like Stanislav Brabec's post on this topic) and then writing all of the image data straight from the TIFF file. If it is a multi-strip tiff, I simply step through the strips, in order, one at a time, and write their data. No problem.

Should I not be able to do the same thing, at least for LZW Compressed TIFFs? Helge, you mentioned that you use LZW compressed tiffs successfully with PS LZWDecode. Am I wrong to simply read the image data from the TIFF and throw it into the PS file, as I do with uncompressed TIFFs?

Do I need to do something at the beginning or end of each piece of data (i.e. for each different Strip)?

For all compression methods, the TIFF spec (V6) clearly states that every stri or tile

has to be encoded separately.

For using images consisting of multiple strips. you could use the SubFileDecode filter

with an empty EOD string and the strip/tile bytecount as the bytecount as parameters.

Helge

--
H.Blischke@srz-berlin.de
H.Blischke@srz-berlin.com
H.Blischke@acm.org