- TestsWebCodecs vs. ffmpeg.wasm: How Long Does It Take to Shrink a Video in the Browser?Timing WebCodecs and ffmpeg.wasm shrinking the same videos to 720p on a Mac and an iPhone, and why 4K is slow. · 4 min read · #WebCodecs #ffmpeg #Video #FileSize #iPhone95 s → 6–20 s
- TestsIs MozJPEG Really Smaller? A Same-Quality Comparison With the Browser’s Own EncoderAt the same quality number MozJPEG is 20–30% smaller. At the same actual quality, only 1–7%. Here’s why. · 4 min read · #JPEG #MozJPEG #Photos #FileSize20–30% → 1–7%
- TestsJPG vs. WebP vs. AVIF: How Much Smaller Are They at the Same Quality?Four photos at matched quality: WebP was 8–26% smaller than JPG, AVIF 23–41% smaller. So why still use JPG? · 4 min read · #WebP #AVIF #JPEG #Photos #FileSize100 → 86 → 68
- TestsWhy Re-Saving a PNG Makes It Bigger, and How Fewer Colors Cut It by More Than HalfRe-saving a screenshot PNG in a browser grew it 33%. Lossless recompression saved 24%, 256 colors saved 59%. · 4 min read · #PNG #Screenshot #Photos #FileSize162 → 214 → 67 KB
- Tests30 fps vs. 60 fps: Do Twice the Frames Mean Twice the File Size?The same 10 seconds at 30 and 60 fps: 1.15× the size at the same setting, 1.47× at matched quality. Here is why. · 4 min read · #FrameRate #60fps #Video #FileSize #iPhone1.47×, not 2×