I'm having problems with the GIF format:
I've got the format pretty well figured out (Header, Logical Screen
Descriptor, Image Descpriptor, and LZW compression). But I have one
problem that I'm hoping someone might have the answer to. It has to do
with the Data Sub Blocks in the actual Image Data. I understand that each
Sub Block is composed of a byte count (0-255) and the LZW codes (nothing
else), if I'm wrong about this please let me know. I looked at a GIF
made by LView (200x200 pix.). The first character count byte was 255
(of course). I counted exactly 255 bytes not counting the character count
byte (over and over) but the next character count byte was 248 (not 255)
but there were alot more than 255 bytes left! Although there was a byte
with the value 255 after 250 (not 255) bytes! Could someone please
explain why this is. Thanks!
Robert :)>