Skip to content

paperdropio/QRCode

 
 

Repository files navigation

QRCode - ImageSharp

Original readme can be found here. This is fork of the QRCode created by StefH 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

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.7%
  • Batchfile 0.3%