Set default camera resolution in Xamarin.Forms

I'm using the Xamarin.Forms Labs project for my MediaPicker when taking photos from both the Android and iOS platforms. (We are not implemented WP). On my physical device, my camera has 6 different resolutions, ranging from 2.4M (16:9) at 2048x1152 all the way up to 16M (16:9) 5312x2988. By default it sets it to the 16M size, which is HUGE. The iPhone has similar ratios, as well defaulting to the highest quality. The API I would like to post my photo to needs quite a bit smaller file coming across the wire. Is there a way I can instruct the Camera Activity to use a smaller picture size? I do not mind writing custom code in specific platforms themselves, if that's what it takes.

Sign In or Register to comment.