SomethingWithComputers / pixoo

A library to help you make the most out of your Pixoo 64 (and hopefully soon other Wi-Fi enabled Pixoos)
Other
199 stars 25 forks source link

Added support for transparency on images #24

Closed pabletos closed 10 months ago

pabletos commented 10 months ago

This pull request introduces an enhancement to the Pixoo device integration, enabling the rendering of PNG images with transparency. Prior to this change, PNGs were displayed with a black background, limiting the visual appeal of the content. With the new support for transparency, we can now achieve a more seamless and aesthetically pleasing display on Pixoo devices.

The change was pretty straight-forward, as I only loaded images as RGBA values instead of RGB and discarded the 0 alpha ones.

Before: Captura de pantalla 2023-11-11 144733

After: Captura de pantalla 2023-11-11 144817

Additionally added also a method for getting settings directly from the Pixoo device.

SomethingWithComputers commented 10 months ago

Nice one! Good upgrade :).