AndrewFromMelbourne / raspi2png

Utility to take a snapshot of the Raspberry Pi screen and save it as a PNG file
MIT License
213 stars 78 forks source link

rotation fixed #25

Closed floppes closed 5 years ago

floppes commented 5 years ago

The current way to get the rotation by using the _displayrotate field from _getconfig will not work if _display_hdmirotate or _display_lcdrotate is used in /boot/config.txt. The correct rotation info is already contained in modeInfo.transform and be used from there.