2003.04.08 14:04 "please help with LZW", by Hailin Shen

2003.04.09 23:20 "trouble with LZW bit order", by Hailin Shen

Dear

At the starting of the first strip, I read hex '80 07 80 0F 17 F8 24 00 E8 7F 85 C0 0E ...'. The corresponding binary code are 10000000 00000111 10000000 00001111.

I read the binary code every 9 bits in the following way (from right to left):

100000000 (256) 000011110 (30) 000000000 (0).

But I then got quite a few clear code and EOI in a strip. Is anything wrong with my bit reading? If it is wrong, how can we get clear code (256) first as in tiff spec 6?

Your kind help is highly appreciated.

All the best

Hailin