Closed AlBannaTechno closed 3 years ago
Hello, thank you for your question. I am not familiar with WPF, but as I tried, this source code could be used if you add reference to 'System.Drawing'.
GetBitmap() returns System.Drawing.Bitmap, so you have to convert to BitmapSource if you want to use in BitmapSource of Image control.
@secile thank you, I used another library but still use the same trick since that library also supports only windows form.
So your answer is 100% Correct, thank you.
@AlBannaTechno
you can use like this
https://github.com/secile/UsbCamera/pull/6
First Thankyou for this awesome work,
is there a way to use it with WPF?