2000.01.29 01:15 "tiff2ps: G4 compression in PostScript]", by Paul Kaiser

2000.02.04 02:43 "Re: tiff2ps: G4 compression in PostScript]", by Paul Kaiser


Ahh! I believe you tried to tell me this before, but I didn't understand it fully. I kept trying to send the whole thing through the decompress one time. Now I understand. Thanks!

For all compression methods, the TIFF spec (V6) clearly states that every stri or tile has to be encoded separately.

I understand what you are saying about SubFileDecode and that, but now I have to figure out how to call this function in the PostScript file a number of times, each time subbing-in a different bytecount (for the appropriate strip).

My first guess is to create an array of the strip byte counts when writing the PS file, then I could read the "next" one from the array each time through the procedure for SubFileDecode. However, I'm not sure how to get the correct elements out of the array. I could use "get", but then I have to give it an index (perhaps I can increment a variable to use for the index?). It would be great if there was some way to "get" the first item out of an array and have it popped out of the array, too.

Do you have any suggestions as to how to handle this?

Oh, yeah, and can you foster world peace in the meantime? (I mean, hey, you've done everything else for me so far, it seems... ;)

Thanks for any more help you or the other listers can provide. I am really learning a Lot, at this point more about PostScript than about TIFF.


Paul Kaiser