You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: