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

unzip/zlib isn't 100% reliable #13

Open
ghost opened this issue Aug 2, 2010 · 0 comments
Open

unzip/zlib isn't 100% reliable #13

ghost opened this issue Aug 2, 2010 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 2, 2010

I'm trying to use your zlib function to deflate image data and it's not coming out 100% correct. What I end up is about 90% of a the correct image, then 10% where it looks corrupted because there wasn't enough data.

For example, I'm deflating the alphaData on a JPG with alpha. The alphaData.length is 141,143 where as the number of pixels in the image is (imgData.data.length) is 141,198, so i'm missing 55 pixels worth of alpha data.

Any idea why this could be happening?

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