I use Rho::Camera.takePicture in ET1 by RhoStudio 5.1.1.
But camera UI was inverted.
Actually the image is rotated by 90 degrees clockwise in ET1.
How to fix this problem?
Inverted camera image when Rho::Camera.takePicture in ET1 by RhoStudio 5.1.1// Expert user has replied.I use Rho::Camera.takePicture in ET1 by RhoStudio 5.1.1. How to fix this problem? |
Subscribe to email updates
Monthly updates from our Zebra development team, straight to your inbox.
4 Replies
This is a Bug and will be solved in RMS 5.3 release.
Please use this commit to fix the issue on 5.1.
SPR28297Fix · rhomobile/rhodes@02300d4 · GitHub
This is a known issue on some devices, as you can read on the Camera API doc (5.1.1)
OUTPUT_FORMAT_DATAURI
This is a base 64 encoding of the image and can be used to easily embed the image on the page or store the image in a database. On some consumer devices, captured image will be rotated 90 degrees while displaying.
http://docs.rhomobile.com/en/5.1.1/api/camera
I have the same problem.
Call Rho::Camera in ET1 by RhoMobile 5.1.1.
The image on screen is rotated by 90 degrees.
How to fix it?
However, I try camera example from rhodes-system-api-samples(https://github.com/rhomobile/rhodes-system-api-samples).
It still has the same problem in ET1.