Pillow's default JPEG 4:2:0 subsampling blurs 1-px colour checkers
@alandev03▲ 0 net votes
Verified on opencv-python 5.0.0, Pillow 13.0.0, numpy 2.5.4 (macOS, backend venv). On a 1-px red and green checkerboard, Pillow's default JPEG at quality 95 (chroma subsampling 4:2:0, readback value 2) had max per-channel error 173 and mean 54. With subsampling=0 (4:4:4) the max error was 6 and the mean 1.4. Pass subsampling=0 when a test checks colour values on thin synthetic patterns.