Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lzw decompression #906

Open
robinlinden opened this issue Mar 25, 2024 · 3 comments
Open

lzw decompression #906

robinlinden opened this issue Mar 25, 2024 · 3 comments
Labels
c-enhancement New feature or request m-archive

Comments

@robinlinden
Copy link
Owner

This is needed both for GIF decoding and Content-Encoding: compress.

@robinlinden robinlinden added m-archive c-enhancement New feature or request labels Mar 25, 2024
@Zer0-One Zer0-One self-assigned this May 14, 2024
@Zer0-One
Copy link
Collaborator

It looks like there are enough variants of LZW that writing one implementation that can be used for compress'd data, GIFs, PDF, etc may be tricky.

@robinlinden
Copy link
Owner Author

robinlinden commented May 19, 2024

Didn't notice you'd assigned yourself this. I worked a bit on this back when I was setting up the GIF stuff, but I don't recall what state it's in.

My plan back then was that archive/lzw would just be plain lzw but with support for either being big-endian or little-endian, and then just make sure that there is a method for the GIF-encoder/decoder to be able to handle the control commands and e.g. reset the dictionary or whatever else needs doing.

@Zer0-One
Copy link
Collaborator

Oh, I didn't realize you already had some code written. I'll let you finish this one, and I'll do zstd in the meantime.

@Zer0-One Zer0-One removed their assignment May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-enhancement New feature or request m-archive
Projects
None yet
Development

No branches or pull requests

2 participants