From Dev.to
Do canvas, createImageBitmap and sharp premultiply alpha when they resize? A lookup from one cutout PNG
I wanted a one-line answer to a small question: when I shrink a PNG that has a cut-out edge, which of the browser and Node resize calls quietly mix the colour stored under the transparent pixels into...
