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

How to implement ImageSharp in Xamarin.Forms for iOS

$
0
0

The following code is throwing a null reference error:

Image<SixLabors.ImageSharp.PixelFormats.Rgba32> myThumbnail = 
SixLabors.ImageSharp.Image.Load(myBytes);

This error does not occur when running on Android. This leads me to believe it is an error caused by simply using ImageSharp on iOS. Is there any kind of special setup needed to use ImageSharp on iOS?

I am on Windows 10, Visual Studio 2017. All I did to set up ImageSharp is I installed it using the nuget packet manager in VS2017.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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