We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
本方案的基础是需要浏览器支持canvas。
var str=JSON.stringify({a:'中文',b:'sss'}), str2=compressor.compress(str) console.log(str2)
compressor.decompressImage(str2,function(d){ console.log(JSON.parse(d).a) })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
字符串加密(转换成图片的base64码)
本方案的基础是需要浏览器支持canvas。
使用方法
转换为图片
还原字符串
The text was updated successfully, but these errors were encountered: