toBuffer. 将输出写入缓冲区。支持JPEG、PNG、WebP、TIFF和RAW输出。 ... Convert any input to PNG output const data = await sharp(input) .png() .toBuffer(); ...
確定! 回上一頁