You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason for this was that passing strings was more dynamic (and maintainable), since there is no need to release a new NetVips version every time a new enumeration is added within libvips.
But I agree, I think using enumerations instead of strings makes more sense. I had an attempt to implement this, see commit 19486a7 on the enum branch. If you want to test this, you can use the nightly version of NetVips. Add the https://ci.appveyor.com/nuget/net-vips feed in the <packageSources> section of your NuGet.config:
Hello,
I see that i have to input some string values as parameters which makes me go search a lot of documentation.
for example
NetVips.Image.Thumbnail(path, w, h, crop: "attention"))
Why not use
public enum CropParameters { attention , someotheroption, ... }
The text was updated successfully, but these errors were encountered: