Working with QR Code Encoder and Decoder

Kmcnet 1,066 Reputation points
2022-12-09T02:20:11.2+00:00

Hello everyone and thanks for the help in advance. I am trying to use the QR decoder in this article https://www.codeproject.com/Articles/1250071/QR-Code-Encoder-and-Decoder-Csharp-Class-Library-f. My code looks like:

string fileName = @"C:\myfile.png";  
QRDecoder Decoder = new QRDecoder();  
Bitmap bitmap = new Bitmap.(fileName);            
QRCodeResult[] ResultArray = Decoder.ImageDecoder(bitmap);  

However, I receive an error "Cannot implicitly convert type 'byte[][]' to 'QRReaderFromImage.QRCodeResult". I've tried different combinations of System.Drawing.Image without success. Hoping someone has experience working with this. Any help would be appreciated.

Developer technologies C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.