The docs say that the value you're passing is is either not a valid image format or null. So what type of image is image? Why are you typecasting it to a byte array earlier in the code?
*System.PlatformNotSupportedException:** 'Operation is not supported on this platform.'
Ahmed Wassim BEN SALEM (ENISo)
241
Reputation points
Hello Guys ,
So i tried to run this game in xamarin forms ,
but when i try compile : System.Drawing.Bitmap mybitmap = new System.Drawing.Bitmap(img2); it raise that exception does anyone know what is the problem ?
Developer technologies | .NET | Xamarin
Developer technologies | .NET | Xamarin
A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Answer accepted by question author
-
Michael Taylor 61,111 Reputation points
2021-04-22T13:37:08.43+00:00