helgeerbe / picframe

Picture frame viewer for raspi, controlled via mqtt and automatticly integrated as mqtt device in homeassistant.
MIT License
110 stars 32 forks source link

Add option to rotate images on load by 90, 180, or 270 degrees #414

Open adammhaile opened 1 week ago

adammhaile commented 1 week ago

Per issue #401 I had a thought for what would be a simpler solution that is not dependent on the specific OS version or hardware type. I simply added the option to rotate the images on load by 90, 180, or 270 degrees.

I entirely realize that this is not a solution for everyone as it's a bit simplistic and doesn't effect and other text or graphic overlays. I tried to see if there was a good/easy way to rotate the entire view space after compositing but couldn't figure out anything obvious. I'm certainly option to suggestions for better ways to do this. If so, let me know and I'll do what I can. But I figured this could still be helpful in some cases for some people.

For myself, specifically, it solves my problems because I didn't want to show anything other than the images anyways.