Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想压缩一些 JPG 以更新到数据库,这段代码是我在文档中找到的唯一内容,但我看不到需要上传到数据库的内容我知道它是 file.lep 但我不知道在哪里拿走它。https://github.com/whitef0x0/node-lepton
阅读文档:
这些函数接受一个回调,该回调返回一个错误对象和二进制文件 blob 形式的输出。
该data参数正是您正在寻找的。
data