Target width:
Original, img tag
Width:
Height:
Canvas, imageSmoothingQuality = 'high'
Go
WASM
uint8 + lanczos3
uint8 + Mitchel-Netravalli b=1/3, c=1/3
uint8 + box
uint8 + triangle
uint8 + cubicspline
uint8 + catmullrom
Go