Sswathikinbuildinginthebrowser.hashnode.dev·1d ago · 10 min readRunning a background-removal neural net in the browser, with no two devices treated the sameEvery "AI background remover, 100% in the browser" demo you've ever clicked runs beautifully. On the author's MacBook. Then someone opens it on a three-year-old Android, the tab spins for forty second00
Sswathikinbuildinginthebrowser.hashnode.dev·1d ago · 13 min readConverting between image formats in the browser, including the weird ones (HEIC, AVIF, ICO, SVG, TIFF)JPG to PNG is the demo everyone ships. Draw the image onto a <canvas>, call toBlob("image/png"), done. Twelve lines, looks great in a tweet. Then someone uploads a photo straight off their iPhone and 10