Wallpaper Engine

Wallpaper Engine

Media Visualizer
Algorithm used for extracting color from thumbnail?
First off, great wallpaper! Its probably my most used one.

Does anyone know how the color of the visualization bars is extracted form the media thumbnail?

I'm running a python script in homeassistant (smart home thing) that extracts colors from a media-player thumbnail, and controls the lights in my room. It would be great if I could use the same algorithm as here to get the color, so I can get my lights to match exatcly.

Is it using the pillow python package by any chance? Or maybe libimagequant?