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
The indexes for the PLTE-chunk check are wrong. They should be further, depending on the length of the IHDR-chunk + the 4 byte CRC of that chunk (see specification).
In this case, it should skip 4 bytes (CRC of the IHDR-chunk) and another 4 bytes (the size indicator of the PLTE-chunk).
ico-endec-js/src/encoder.js
Line 76 in e8e0ff3
The indexes for the
PLTE
-chunk check are wrong. They should be further, depending on the length of theIHDR
-chunk + the 4 byte CRC of that chunk (see specification).In this case, it should skip 4 bytes (CRC of the
IHDR
-chunk) and another 4 bytes (the size indicator of thePLTE
-chunk).Check out my visual helper for PNG.
The text was updated successfully, but these errors were encountered: