Keep either width or height so that the Sharp will maintain the ratio Below the height will maintain its ratio when resizing; await sharp(image) .resize({ ...
確定! 回上一頁