We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
in png.js at line 135 you're incorrectly lengthening transparency.indexed to 255, if it's shorter.
The max length of that array should actually be the length of the palette divided by 3. And if it's parsed and is any longer there should be an error.
So it should read,
short = (this.palette.length/3) - this.transparency.indexed.length;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
in png.js at line 135 you're incorrectly lengthening transparency.indexed to 255, if it's shorter.
The max length of that array should actually be the length of the palette divided by 3. And if it's parsed and is any longer there should be an error.
So it should read,
The text was updated successfully, but these errors were encountered: