Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Forcing camera to be in landscape and adding overlay

$
0
0

I have a Xamarin.Forms project targeting both iOS and Android (no WP8). I have a view that is used to take a picture of a check and upload that image, much like most banking apps. I need to do a few things that I can't seem to figure out:

1.) How can I force the camera to be landscape mode (my USAA app does this, I believe Chase does as well)?
2.) How can I add an overlay, maybe a simple rectangle to help guide the user into capturing the entire check?
3.) Is there a way to force the camera resolution? My Galaxy S6 takes very large pictures by default (16M with 16:9 res) which creates a giant file and my API does not allow the POST to go through. I can absolutely change my API to allow it if necessary, but I would like to force the camera to use a smaller image size.

I'm using the XLabs project found here.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>