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

Lookig for an imagecropper in Xamarin forms.

$
0
0

Hi Everyone,
I am looking for an image cropper in Xamarin forms.
I have tried ImageCropper.Forms
but the code got an exception here->

 new ImageCropper()
         {

// PageTitle = "Test Title",
// AspectRatioX = 1,
// AspectRatioY = 1,
Success = (imageFile) =>
{
Device.BeginInvokeOnMainThread(() =>
{
imageView.Source = ImageSource.FromFile(imageFile);
});
}
}.Show(this);
of abstraction, dont know why?

Then I tried a sample from here-->

https://forums.xamarin.com/discussion/30076/xamarin-forms-capture-and-crop-an-image-for-android-platform

It works in iOS but app crashes in Android with a error --> Java.Lang.IllegalArgumentException

Please help


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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