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

No function to save Huffman tree #3

Open
crookedbard opened this issue Jan 16, 2017 · 1 comment
Open

No function to save Huffman tree #3

crookedbard opened this issue Jan 16, 2017 · 1 comment

Comments

@crookedbard
Copy link

There is no function that would allow convert Huffman tree to stream and save it somewhere.
For example if I would save the code (vector) stream to file, and later on I would need to decode it. I could not achieve that if there is no Huffman tree saved anywhere, I need to use the same Huffman constructor with which I have created the "code" values. And that is very limited.

@chachalaca
Copy link
Owner

@crookedbard Thank you for your feedback, decoding is currently not implemented. However, if you need decoding algorithm, see this repo https://github.com/chachalaca/ImgFormat — it is another Huffman coding implementation which also includes decompression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants