6 min read
How to compress an image to 100 KB (or 50 KB, or 20 KB) without wrecking it
Upload form says the photo must be under 100 KB and yours is 4 MB? Resize first, then compress to a target size. Here's how to hit any limit and still look sharp.
engineering & web performance ✦
Articles on image formats, compression, and making websites load faster.
6 min read
Upload form says the photo must be under 100 KB and yours is 4 MB? Resize first, then compress to a target size. Here's how to hit any limit and still look sharp.
zero bytes stored
Convert to AVIF, WebP or MozJPEG, crop around faces, strip EXIF and hit exact KB targets in your browser.