kleisauke / net-vips

.NET binding for libvips.
https://kleisauke.github.io/net-vips/
MIT License
401 stars 32 forks source link

Xamarin support #118

Open MattiaDurli opened 3 years ago

MattiaDurli commented 3 years ago

Hello, I read that Mono is supported, so I tried it on a Xamarin.Android app, but upon loading an image it crashes with:

Message = "libvips-42.dll assembly: type: member:(null)"

I installed the latest nuget and the generic Netvips.Native.

Any suggestion on how to install/use the library? (if it can work on Xamarin)

Thanks

kleisauke commented 3 years ago

Supporting Xamarin.Android (or Android devices in general) would require libvips to be cross-compiled with an Android-compatible toolchain such as NDK. See: https://github.com/lovell/sharp-libvips/issues/38.

Let's tag this as an enhancement.

fredprodibi commented 3 years ago

hello does it works with xamarin on windows and macos?

kleisauke commented 3 years ago

@fredprodibi Do you mean UWP? I think that should work without any problems, please open a new issue if it doesn't.