After resizing the image, you chain the sharp module's toFile() method, which takes the image path as an argument. Passing sammy-resized.png ...
確定! 回上一頁