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

Optimize size of lzwImageData Buffer #3

Open
pixelmatix opened this issue Oct 3, 2014 · 0 comments
Open

Optimize size of lzwImageData Buffer #3

pixelmatix opened this issue Oct 3, 2014 · 0 comments

Comments

@pixelmatix
Copy link
Collaborator

To fix #2 , I increased the size of lzwImageData from 1024 (32x32) to 1280. This is probably too much. This could be decreased by figuring out the maximum theoretical size of a 32x32 GIF frame, or by running a lot of GIFs containing random data through the decoder and looking for a high water mark in the buffer.

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

0 participants