photopea / UPNG.js

Fast and advanced PNG (APNG) decoder and encoder (lossy / lossless)
MIT License
2.1k stars 259 forks source link

Fixed unknown bug in inflateRaw #82

Closed L1quidH2O closed 1 year ago

L1quidH2O commented 1 year ago

inflateRaw was causing problems for me where it would return a wrong length buffer (but with the correct data). Ive minified a version of inflateRaw from UZIP.js and removed unused code leading to a correct and shorter inflateRaw function.

L1quidH2O commented 1 year ago

My bad for deleting, same pull request at #83