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

Xamarin.Forms and (native) images

$
0
0

Hey guys,

I got problems with Xamarin.Forms and converting images. I think I dont get the concept of Forms yet...

I got a Forms.Page which loads an Image and manipulates it, after pressing a button.
On iOS I want to manipulate a UIImage (CoreImage stuff) on Android I want to work with Bitmaps.

What is the best (and easiest) approach to work with the native images on different plattforms? / How would you implement the given task?
A brief example with images would be awesome too!

Currently I tried to implement a dependency service, but I cant get the Xamarin.Forms image to native types.
this.imgSepia.Source = DependencyService.Get<IImageProcessor>().procesSepiaImage(Image img); // call ImageProcess class of iOS / Droid

I thankful for any help


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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