Multiple RGB lights change according to color gradient of an image

Hello Everyone,

I made myself a home made cocktail bar with lots of RGB leds.
I have quiet a difficult request that I don’t know yet how to adress…
I would like to modify the global color mood/scene of my bar (which has 5 differents RGB leds, adressable and non adressable leds strips and bulbs) to match the colors of a picture (png) or a picture gradient of colors.

Does anyone has any idea how I could do that.
Basically I would feed as an input to my solution a picture and it would create the correct RGB values for each light. Each one of them would have already been configured in terms of geographical coordinates within the room and space.

From my understanding there are some similar type of project:

My setup consists of the following equipment:

  • 1 Bar menu with RGB led strips (magic home controler)
  • 2 filament rgb led bulbs from ledvance (already integrated in Hassio)
  • 1 adressable led strip for the display of liquors and drinking glasses (magic home controler)
  • 1 adressable led strip logo,the martini glass (esphome)

Each entity is controllable on home assistant: