Groups
Sign in
Groups
MIT App Inventor Forum
Conversations
Labels
About
Send feedback
Help
i want automatically rotate a image if in landscape without rotating mobile
25 views
gallery
Skip to first unread message
Peppe Czeta
unread,
May 11, 2019, 12:15:49 PM
5/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
i want automatically rotate a image if landscape without activate the screen orientation, how can i?
I tryed with screen width > screen height, but the image is inside a canvas and it doesn't work
TimAI2
unread,
May 11, 2019, 1:00:06 PM
5/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Try
https://puravidaapps.com/image.php
Look for the isLandscape and Rotate blocks/examples
Peppe Czeta
unread,
May 11, 2019, 1:39:10 PM
5/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
alredy tryed, bt doesn't work, when i take a landscape pic canvas stop to work
123.png
TimAI2
unread,
May 11, 2019, 1:52:09 PM
5/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
I believe the rotated image is in memory, you need to save the file for changes to persist
Peppe Czeta
unread,
May 11, 2019, 2:22:18 PM
5/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
i think i have to rotate the canvas, 'cose the image is rotate but not into the canvas, also if i pick it from my gallery
TimAI2
unread,
May 11, 2019, 2:58:00 PM
5/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
I believe you are over complicating things
Handle the image rotation first and save the file, then apply to canvas as background image
Peppe Czeta
unread,
May 11, 2019, 3:38:38 PM
5/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
yeah, i was...thanks!
Reply all
Reply to author
Forward
0 new messages