strip off the data: url prefix to get just the base64-encoded bytes. var data = img.replace(/^data:image\/\w+;base64,/, "");. var buf = new Buffer(data, ...
確定! 回上一頁