Closed 55utah closed 4 years ago
sorry, I find the reason. fix it by using pako.js.
Problem still present in current version : ReferenceError: pako is not definedUPNG.js:790:14
UPNG.js requires pako.js , as described in the README file.
Thanks, pako.js from https://github.com/nodeca/pako/blob/master/dist/pako.js has to be included before.
yes, it is mentioned in Readme.
use method 'UPNG.encode' get error: "pako is not defined" in UPNG.js line 789.