Answers for "resize image in node.js"

0

resize image in node.js

sharp('input.jpg')
  .rotate()
  .resize(200)
  .jpeg({ mozjpeg: true })
  .toBuffer()
  .then( data => { ... })
  .catch( err => { ... });
Posted by: Guest on April-21-2021

Browse Popular Code Answers by Language