In the PNGJS Documentation it uses the npm package 'fs' to read the file. e.g. var data = fs.readFileSync('in.png'); var png = PNG.sync ...
確定! 回上一頁