AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1993.11.17 13:54 "can i decompress a raw lzw strip with uncompress?", by Thies Arntzen
1993.11.17 19:33 "Re: can i decompress a raw lzw strip with uncompress?", by Dan Seyb

1993.11.17 13:54 "can i decompress a raw lzw strip with uncompress?", by Thies Arntzen

Hello,

i'd like to decompress a lwz tiff myself! (because i'm going to transmitt it over modem, and i do not want to setup the whole tifflib on the other (macintosh) side. i do have an lzw (unix-compress) compatible decompressor on the mac....)

i get the STRIPOFFSET and STRIPBYTECOUNT from the tiff, then i read the strip myself (seek & read) to transmit it - but uncompress doesn't seem to like the "raw" data!!!

now my question:

is the lzw code in the tifflib compatible to unix's compress & uncompress, or are the differences (header?) so small that it can be converted "on the fly"?

thanx in advance,

tc