About SlimPic
SlimPic is a one-person project by ew. It is a static site: there is no server that receives photos, so every compression runs inside your browser.
What the code does
When you pick a file, SlimPic reads its header for the format and pixel dimensions, redraws it on a Canvas and encodes it as JPEG or WebP. It starts at quality 0.98 and, if the file is too big, binary-searches down to 0.48 (0.30 in “smaller file” mode) for up to nine steps. If even the lowest quality is too large, it shrinks the dimensions and searches again. Success is judged on the real byte count of the output, with 1KB counted as 1,000 bytes.
To keep that description honest, I ran the same code on eight generated sample files and published every number on the test results page. The other guides quote from that record.
What it does not do
It cannot open HEIC files from iPhones. It does not crop to a fixed ratio, remove backgrounds or check passport-photo rules. Width and height fields are upper limits that keep the aspect ratio. Re-encoded files lose EXIF and GPS data, but a file that was already under the target is returned untouched, metadata included, so please do not rely on SlimPic to strip location data.
Limits: 50MB per file, 20 files, 200MB in total, and encoding at no more than 12 megapixels. For anything bigger, a desktop image editor is the better tool.
Change log
- September 29, 2026: launched with JPG, PNG and WebP, batch processing, ZIP downloads, Korean and English pages.
- October 1, 2026: switching between KB and MB keeps the same byte target.
- October 4, 2026: added a 20KB sample comparison and a troubleshooting page.
- November 14, 2026: rewrote every guide around new measurements of eight samples at 100KB to 1MB. While testing I found and fixed a bug: a 4032×3024 photo (the usual “12MP” phone size, which is actually 12.19 million pixels and just over the internal cap) was re-encoded even when it was already under the target, and a 3.64MB file came back as 4.49MB. Files under the target are now returned unchanged.
Contact
Run by ew. Bug reports and corrections: ehh1120@naver.com. The same person also runs Morfliq (image and video format conversion), Browser Audio Splitter and Nolawa. Files you choose in SlimPic are never passed to those sites.