I want to rotate my Canvas

Im trying to make an simple photo editor which I can draw on my gallery pic, and I'm having trouble with rotating my canvas.
Whenever I try to get an image from my device or take a photo, it always rotate 90 to right.
So I tried to rotate by making " initialize global 'turn' to '0' " and made rotate button.
but when I try to rotate, my canvas comes white.(or kind of erazed? whenever)

plz help me to make my canvas rotate.

ps: I want to maintain the drawing things I did when I rotate. rotate with pic togetheredit_picture_copy.aia (3.2 KB)

u can do it with a extension only
i think

This might give you some ideas

https://community.appinventor.mit.edu/t/howto-1-set-canvas-to-image-dimensions-without-extension/21760/4

the image extension offers a Rotate method
https://puravidaapps.com/image.php

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.