How 75 tools stay under 40 KB of JavaScript
Image codecs weigh hundreds of kilobytes, yet no tool page ships more than 32 KB of JavaScript up front. The budgets, the build checks and the parts that were hard.
How Utlty's tools work: the algorithms, codecs and formulas behind them, and the trade-offs we made.
Image codecs weigh hundreds of kilobytes, yet no tool page ships more than 32 KB of JavaScript up front. The budgets, the build checks and the parts that were hard.
Forms want “20–50 KB”, not “quality 75”. Here's the search that finds the best JPEG inside a byte range, with measurements from a real photo.