-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle libheif library in nuget package? #1
Comments
There are several reasons that the libheif DLLs are not bundled. The main one is that it would force me to update the LibHeifSharp NuGet package when each new libheif version is released. Another is that users may want libheif to be build with different features, e.g. some users may want AVIF support or only need decoding. It would make sense to have a libheif NuGet package for some platforms, e.g. a
No, for the reasons stated above. |
Thanks for the feedback. Do you have any up-to-date instructions on how to build a version of The libheif github page advises to use vcpkg, but that builds version 1.7, and your library needs 1.9. I have not yet been able to build a version that works on Windows. |
Found it, I had to apply this patch to build it. |
@ziriax if I build the libheif.dll and copy it to my libheif-sharp vs solution directory, there still seem to be some dependencies missing. What binaries did you add in addition to the libheif.dll? I built it with MinSizeRel x64 settings. |
Thanks for this library! I actually started my own wrapper, using SharpGen to automatically generate most of the low-level API bindings, but you've tackled it the hard way, nice 👍
Do you have a reason (maybe licensing) not to bundle the native DLLs in the nuget package, as described here?
Would you accept a PR that does this?
PS: If you are interested in my project that uses SharpGen, I'll be happy to push it to GitHub
The text was updated successfully, but these errors were encountered: