title: React (Nextjs) lib that resizes and crop image
body: <p>I need a lib for react that takes an image (ex. 500w by 1000h following the baviour of <code>object-fit: cover</code>) and crops it to 256w by 144h
  automaticly and serves it back to use at base64 format. English isn't my native language but I tried my best looking for this and only found libs that allow users to manually crop the image – I need an automatic procedure.</p>