Thanks to visit codestin.com
Credit goes to github.com

Skip to content
 
 

Repository files navigation

QRCode - ImageSharp

Original readme can be found here, modified readme here. This is fork of a fork which switches up to dotnet6 (only). Originally based on the QRCode created by StefH, then by Paperdropio using the ImageSharp instead of System.Drawing.Common. System.Drawing.Common is a windows only library now see here, the changes allows the QRDecoder to use one of the more modern cross platform 2d graphics library ImageSharp.

NuGet packages

Name NuGet
QRCodeDecoder-ImageSharp [NuGet]

QRDecoder

Configure Dependency Injection

...
services.AddQRCodeDecoder();
...

Usage

var decoder = _serviceProvider.GetRequiredService<QRDecoder>();
byte[][] data = decoder.ImageDecoder(sourceBitmap);

var data = QRDecoder.ByteArrayToString(data[0]);

References

About

QR Code : Decoder

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages