Research: Quality vs Size Curves
Reproducible method to benchmark JPEG/WebP at 1920px longest side and target KBs.
- Choose a CC0 dataset covering photos, UI, and screenshots.
- Normalize images to 1920px longest side.
- For each image and codec, sweep quality via binary search to hit 200/300/500/800KB.
- Record SSIM/PSNR and visual notes; export CSV.
Sample dataset (CSV)
target_kb,jpeg_quality,webp_quality
200,0.62,0.55
300,0.73,0.64
500,0.84,0.75
800,0.92,0.86