Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Use Sharp To Process An Image

javascript
si

sharp("input.jpg")
  .resize({ width: 1024, height: 768 })
  .toFile("output.jpg")

More details here : https : //sharp.pixelplumbing.com/api - resize

Installation is done with :

Install with :

bash
npm install sharp
# or
yarn add sharp