This repository has been archived by the owner on Nov 2, 2023. It is now read-only.
Replies: 1 comment 4 replies
-
之前想这么弄,引入了qrcode这个包,但这包要2.5M比其他加起来都多,就为打印一这个 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
目前想到的方案其实就两种,一种把图片按像素解析了再渲染到命令行,例如 terminal-image 这个库做的事情。
或者把二维码内容解析了,再重新编码渲染,有点脱裤子放屁的感觉。不过我试了下效果比 terminal-image 好。
Beta Was this translation helpful? Give feedback.
All reactions