IronQR 2024.10.31

There is a newer version of this package available.
See the version list below for details.
dotnet add package IronQR --version 2024.10.31                
NuGet\Install-Package IronQR -Version 2024.10.31                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IronQR" Version="2024.10.31" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IronQR --version 2024.10.31                
#r "nuget: IronQR, 2024.10.31"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install IronQR as a Cake Addin
#addin nuget:?package=IronQR&version=2024.10.31

// Install IronQR as a Cake Tool
#tool nuget:?package=IronQR&version=2024.10.31                

Nuget Installs Passed livechat

IronQR - The C# QR Code Library

IronQR NuGet Trial Banner Image

IronQR is a library developed and maintained by Iron Software that helps C# Software Engineers to detect, read, and create QR Codes in .NET applications & websites with a sophisticated custom Machine Learning model.

IronQR excels at:

  • Detecting and Reading Barcodes for Images or Scans
  • Create fully custom QR Codes with Logos and Coloring

IronQR has cross platform support compatibility with:

  • .NET 8, .NET 7, .NET 6 and .NET 5, Core 2x & 3x, Standard 2, and Framework 4.6.2+
  • Windows, macOS, Linux, iOS, Android, Docker, Azure, and AWS

IronQr Cross Platform Compatibility Support Image

Additionally, our API reference and full licensing information can easily be found on our website.

Using IronQR

Installing the IronQR NuGet package is quick and easy, please install the package like this:

PM> Install-Package IronQR

Once installed, you can get started by adding using IronQr; to the top of your C# code. Here is is sample and advanced QR examples to get started:

using IronQr;
using IronSoftware.Drawing;

// Create QR Code
QrCode myQr = QrWriter.Write("hello world"); // Embedded value as string
AnyBitmap qrBitmap = myQr.Save(); // Bitmap object able to export as bytes or file
qrBitmap.SaveAs("qr.png"); // Save to disk

// Read QR Code
var qrReader = new QrReader(settings: optionalQrReaderSettings); // Create reader
IEnumerable<QrResult> results = qrReader.Read(new QrImageInput("image.jpg")); // Reader calls ML Model to detect and read
IEnumerable<QrResult> asyncResults = await qrReader.ReadAsync(new QrImageInput("image.jpg")); // Async version

// Advanced QR Creation
var optionalOptions = new QrOptions(QrErrorCorrectionLevel.High, 20); // Advanced QR Generation Options

QrCode myQr = QrWriter.Write("hello world", options: optionalOptions); // QR code created with options

var fancyBrandedQrSettings = new QrStyleOptions // Add logo, branding, coloring, rouding, etc.
{
    Dimensions = 300, // px
    Margins = 10, // px
    Color = Color.Black,
    Logo = new QrLogo
    {
        Bitmap = new AnyBitmap(new Uri("website.com/image.svg")),
        Width = 50,
        Height = 50,
        CornerRadius = 2
    }
};
AnyBitmap qrWithBranding = myQr.Save(fancyBrandedQrSettings);
qrWithBranding.SaveAs("qr_fancy.png");

Features

Advanced QR Detection Model:
  • Built-in Custom Machine Learning QR Detection Model that is improved monthly
  • Fast scanning of areas with detected QR Codes ingnoring noise
  • Accurate reading of QR Codes with Error correction
Reading QR Codes:
  • Read from many image formats: Images (JPG, PNG, GIF, TIFF, SVG, BMP), Multipage GIF & TIFF, System.Drawing Objects, Streams, and more
  • Image Filters to improve image reading: Contrast and Binarize!
  • Async / Multithreading Support and Lighweight "Slim" ML-deteched mode
  • Output to Text, Image, or URI
Writing QR Codes:
  • Write To Document Types: Image (jpg, png, gif, tiff, bmp), System.Drawing Objects, Streams, HTML (DataURI, file, or img), (File, Stream, or Binary)
  • Encoding Data: Text, urls, IDs, numbers, & binary data
  • Custom QR Error Correction
  • Styling QR Codes: Resizing, Margins & Borders, Recoloring, Add text annotations, Adding custom logos and rounding

Licensing & Support available

For code examples, tutorials and documentation visit https://ironsoftware.com/csharp/qr/

For support please email us at support@ironsoftware.com

You can email us at support@ironsoftware.com for support directly from our code team. We offer licensing and extensive support for commercial deployment projects.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.11.5 557 11/6/2024
2024.10.31 1,642 10/10/2024
2024.9.1 1,539 9/9/2024
2024.8.1 1,468 7/30/2024
2024.7.1 2,220 7/2/2024
2024.6.1 2,325 6/4/2024
2024.5.2 1,510 4/29/2024
2024.4.1 900 4/4/2024
2024.3.2 3,407 3/8/2024
2024.2.1 1,607 1/29/2024
2024.1.1 904 12/29/2023
2023.12.1 957 11/28/2023
2023.11.1 674 10/30/2023

* Improves speed and accuracy of QR reading.
* Adds reading and writing support for Micro QR and Rectangular Micro QR (rMQR).