Xamarin Forms - Resize Camera Picture

前端 未结 4 646
攒了一身酷
攒了一身酷 2020-12-03 09:22

Someone helped me get this code for taking a picture using xamarin forms labs camera:

picker = DependencyService.Get ();  
                       


        
4条回答
  •  暖寄归人
    2020-12-03 09:50

    An update from the Xamarin Media Plugin allows you to resize the image https://github.com/jamesmontemagno/MediaPlugin ... barring that, and you need a more generic resize option (say the image comes from a web call, and not the device, then have a look at: https://github.com/InquisitorJax/Wibci.Xamarin.Images

提交回复
热议问题