tom-2015 / rpi-ws2812-server

Raspberry Pi WS2812 (web) server tool
172 stars 39 forks source link

Led matrix - How to rotate/flip every even pixel line of png image #39

Open jnetusil opened 4 years ago

jnetusil commented 4 years ago

Hello, thank you for this great product! I am building a led matrix wall with the idea of playing an image sequence loop on it. Your server made it very easy to start for me and I can upload a sequence via web interface and run it with php, which is just great. But I cannot figure out how to flip scan lines of the image - i need to flip every even line. Right now, I am able to do this during video postproduction, there is also posibility of cutting the led strip and rewiring each line, but it would be more practical to flip it during reading the pngs. With arduino libraries it´s easy to define lines order, but arduino have a little memory and speed limit, which is why i am trying to use raspberry now.

Do you have any idea how to do this, is there a way to rotate each even line with readpng?

Thank you very much for any advice.

Jan

tom-2015 commented 4 years ago

I'm afraid not at this moment but I can look into it when I find some time and try adding such feature.