joeyy-watts / SpotifyWLED

A script to listen to the currently playing track on your Spotify account and forward it to a WLED (https://github.com/Aircoookie/WLED) LED matrix with support for animations.
2 stars 0 forks source link

Improve brightness scaling for images #2

Open joeyy-watts opened 1 year ago

joeyy-watts commented 1 year ago

When input images for the WLED frame have dark backgrounds, the remaining elements are very bright, and vice versa.

Basically, we have to account for uneven brightness in the original image and preserve that as much as possible.

Also: dark colored backgrounds have brightness scaled up making them a completely different color..