I built an image compressor that never sees your images published
Gaurav Bhowmick developed MiniPx, a browser-based image compressor that processes images locally without uploading them to a server. The tool uses the browser's Canvas API to compress, resize, and convert images while preserving user privacy. It includes fallback mechanisms to ensure output files are smaller than the originals, even switching formats when necessary.
- ▪MiniPx performs image compression entirely in the browser, so no images are uploaded to external servers.
- ▪The tool uses the Canvas API and adjusts quality levels or switches formats like WebP or JPEG to ensure smaller file sizes.
- ▪For HEIC files from iPhones, MiniPx enables conversion without server-side processing, maintaining privacy and efficiency.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3887684) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Gaurav Bhowmick Posted on May 2 I built an image compressor that never sees your images published #image #compression #ai #webdev 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.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).