Closed GekoPrime closed 6 years ago
It is intended as demo code to show the effects of all rotation angles, hence the five times. Before the rotation argument was added we had the single draw image (as in your PR).
@tvoverbeek papirus draw was originally intended to be a "functional" bit of code to allow people to put images on screen from command line.
Is that not the case anymore?
In readme it has:
# Draw image on the screen
papirus-draw /path/to/image -t [resize | crop] -r [0 | 90 | 180 | 270]
@shawaj OK, I accept the "functional" part and will merge this.
Awesome, thanks @tvoverbeek - maybe we can have a papirus-draw-demo or something showing the 5 times?
On Thu, Aug 24, 2017 at 7:23 PM, Ton van Overbeek notifications@github.com wrote:
Merged #149 https://github.com/PiSupply/PaPiRus/pull/149.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PiSupply/PaPiRus/pull/149#event-1220250349, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNCus-4f6H702zRN7vRhRcSsIMWGSd2ks5sbb-pgaJpZM4O_baY .
papirus-draw now draws the image only once.
Previously the image was drawn five times: once at each rotation, and finally at the requested rotation