-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Native All? #108
Comments
The prebuilt binaries provided by NetVips for libvips and its dependencies do not include GPL-licensed or patent-encumbered software. |
I guess I'm unclear on the delineation since I can get the prebuilt encumbered libraries as well.. |
Using GPL-licensed libraries means that your code must comply with the GPL when you use it. After PR libvips/build-win64-mxe#14 (included in v8.10.2) the patent-encumbered dependencies have been moved to a plugin, but they can still be built optionally. The If you are satisfied with the GPL, and you want to take the patent risk, you are free to use the |
Say for instance you want to add an avif benchmark in Netvips.Benchmarks, how would you work around? |
AVIF still has patents, but they are royalty-free and the alliance of tech giants behind it will defend it from patent troll's lawsuits. |
Sorry I was being explicit, in my case I have a benchmark .net benchmark that does: ImagePipeline
.FromFile("input.jpg")
.Resize(Width, Height)
.ToFile("output.avif"); While I can reference Netvips.Native and manually copy dlls to the appropriate native folder, benchmark .net does its own compile and at runtime fails the avif benchmark... To the best of my knowledge I don't think I can hook benchmark .net to copy the native/encumbered libraries as a post build step... If there were available a NetVips.Native.All.Stay.Away nuget I don't think I'd have any issues.. Of course, I could package it on my own, it just seems like an extraneous step. |
Honestly I'm getting confused now :( I took the same benchmark and ran on my primary work machine vs my home machine, the work machine supports AVX2 and both used
without avx2 machine 1 fails, with avx2 machine 2 succeeds |
Is this for Windows? If so, you could try to add the Alternatively, see #15 (comment) for a detailed instruction to set the libvips binary directory at runtime (i.e. in a separate directory without changing any environment variables).
This is not going to happen due to the above reasons. You are free to build, package and distribute it yourself, but if you are using a library that is released under the GPL license, then the entire project needs to be available under a GPL-compatible open-source license. If your goal is to distribute the
Was |
Is there a reason that a nuget -all variant isn't published? It's a hassle copying overtop everytime I do a build... :D
The text was updated successfully, but these errors were encountered: