BitmapLuminanceSource not in version 0.16.8 #420
-
I have upgraded my project to .net version 6. However, I am getting the following error that BitmapLuminanceSource() doesn't exist in version 0.16.8. I am unable to find a solution how to resolve this issue. Assitance or guidance would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The base package ZXing.Net https://www.nuget.org/packages/ZXing.Net/ only contains the core classes without the implementations for a specific image library. Since .Net Standard / .Net Core the .Net packages don't contain the System.Drawing namespace. |
Beta Was this translation helpful? Give feedback.
The base package ZXing.Net https://www.nuget.org/packages/ZXing.Net/ only contains the core classes without the implementations for a specific image library. Since .Net Standard / .Net Core the .Net packages don't contain the System.Drawing namespace.
You have to add one of the additional binding packages for the image manipulation library you want to use:
https://www.nuget.org/packages?q=ZXing.Net.Bindings*
Perhaps the package https://www.nuget.org/packages/ZXing.Net.Bindings.Windows.Compatibility/ fits your needs.