Menu

Post image 1
Post image 2
1 / 2
0

I built an image compressor that never sees your images published

DEV Community·Gaurav Bhowmick·about 1 month ago
#BealxytO
#compression#ai#webdev#blob#canvas#size
Reading 0:00
15s threshold

Every online image compressor I tried had the same problem: they upload your photos to a server. TinyPNG, iLoveIMG, Compress2Go — they all work the same way. You pick a file, it goes to someone else's computer, gets compressed, comes back. The compression is good. But your photo — with its GPS coordinates, device serial number, and timestamps baked into the EXIF data — just sat on a server you don't control. I kept thinking: image compression is just math. It's Canvas API, quality parameters, and blob manipulation. There's no reason this needs a server. So I built MiniPx . It compresses, converts, and resizes images entirely in the browser. Nothing gets uploaded. Ever. Here's how it works under the hood. The core compression loop The actual compression happens in about 20 lines.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More