Original PickImageColors source-file lab, 2026-10-25.
Should transparent pixels count in an image’s average RGB?
Run: python reproduce.py --case alpha-weighted-image-average --out rerun
Dependency: Pillow. Recorded runtime: Python 3.12.14, Pillow 12.3.0, libwebp 1.6.0.
Measurements are local source-file computations, not browser observations. Library-dependent compression sizes and quantizer choices may change with runtime.
These are arithmetic operations on stored RGB channel values. We did not linearize sRGB, calculate a perceptual mean or test an automatic palette algorithm. The formula would need an explicit policy if every pixel had zero alpha and the denominator were zero.
