toFile ('./result.png') .then(() => console.log('保存完成')) 复制代码. 第二种是转换成buffer,然后怎么处理就随你了: sharp('.
確定! 回上一頁