|
-
Oct 7th, 2012, 06:29 PM
#1
Thread Starter
Member
gif files & lzw
just a few questions about this;
essentially i want to do a gif decoder however i need to do myown code so i have been looing in to gif files and as far as i see they are usually compressed in an 89a format, is this the universal default?
so far i have been able to extract all the header info, and color tables, but when it comes to the image compression i am stumped, even after reading the 50 tutorials out there.
i am lead to understand that the file is stored under lzw compession, can someone walk me through step by step how to decode a small line, i dont need it in code or anything, i just cant understand how the cycle works..... the tutorials also confuse me with 9-bit encoding how does that fit in? do most gif files do this???
my other question is after the decompression i am lead to believe that the gif code for my 10 x 10 pixle black square
will be like this(presuming black is 5):
5555555555 = 10 fives,
is that how the hex syntax would look for line 1: 10 05 ?????
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|