WebP-wrapper icon indicating copy to clipboard operation
WebP-wrapper copied to clipboard

nuget package question

Open ChristopherRobinSuperStar opened this issue 7 years ago • 7 comments

Is there a nuget package for it? And how it is compatible with NET CORE?

Not have nuget package. For use:

  • Copy the CS file in your program folder.
  • Add the CS file to your proyect.
  • Add "using WebPWrapper;" in your form code
  • Copy the DLL files in the solucion "\bin\release" folder.

You can see the easy demo include in the proyect. Is compatible with all NET cores, in x32 and x64 modes.

IMPORTANT: The last version of DLL is not compatible with Windows95. Is one bug for version of WebP upper than 5.00 If you need one older version, I can compile it for you.

JosePineiro avatar Aug 31 '17 16:08 JosePineiro

Maybe a bit late, but it's not compatible with .NET Core (at least not 2.2) as System.Drawing.Bitmap and System.Drawing.Imaging.BitmapData is not compatible.

kraxarn avatar Aug 09 '19 11:08 kraxarn

Both of those types are in System.Drawing.Common.dll and they work in .NET Core.

https://www.nuget.org/packages/System.Drawing.Common/4.6.0

alex-oswald avatar Nov 08 '19 21:11 alex-oswald

As it is GDI+, it is Windows only, so no.

kraxarn avatar Nov 08 '19 21:11 kraxarn

That is a different question and a different answer. You didn't ask if it worked cross platform. It is compatible with .NET Core. I'm using Bitmaps in a production .NET Core 3 app using that library.

alex-oswald avatar Nov 08 '19 22:11 alex-oswald

Please, test https://github.com/stulzq/dotnetcore-image

JosePineiro avatar May 23 '20 19:05 JosePineiro

+1 for having this in a nuget package, that is the standard way to consume these 3rd party libraries!

justintoth avatar Jun 04 '20 13:06 justintoth