Commit graph

6 commits

Author SHA1 Message Date
Gered 60a22456c0 add module doc comment 2022-12-30 11:47:28 -05:00
Gered 88f8cbe1ad lzw encoding/decoding now reads/writes the min_code_size byte
as such, lzw_decode now no longer needs min_code_size as a function
parameter since it just reads it from the source bytes
2022-12-30 11:47:13 -05:00
Gered 803b31d8c8 fix lzw encoding code bit increment and max code value checks
this fixes it so that the full 12 bits for codes will be used instead
of only 11. whoops
2022-12-30 10:51:30 -05:00
Gered 0c1f50e63e initial stab at gif load/save bitmap support
the lzw encode / decode algorithm seems to work well enough, but could
be optimized and i'm worried there are still some lingering issues ...
2022-12-29 22:19:35 -05:00
Gered b28c0f6555 add stream_size method
this is just a temporary alternative to the currently unstable
stream_len method, because i don't currently want to depend on unstable
rust versions if i don't need to.
2022-05-29 12:52:58 -04:00
Gered 38e6826440 initial commit 2022-05-15 12:11:46 -04:00