Designed by Iron Software, IronQR is a robust library for C# developers enabling the detection, reading, and generation of QR Codes within .NET applications and websites, utilizing a state-of-the-art custom Machine Learning model.
- Barcode Detection and Reading from Images or Scans
- Custom QR Code Creation with Logos and Personalized Colors
- .NET 8, .NET 7, .NET 6 and .NET 5, Core 2x & 3x, Standard 2, and Framework 4.6.2+
- Supports Windows, macOS, Linux, iOS, Android, Docker, Azure, AWS
Our comprehensive API reference and complete licensing details are readily accessible on our website.
To install the IronQR NuGet package, simply run the following command:
PM> Install-Package IronQR
After installation, integrate IronQR by adding using IronQr;
at the beginning of your C# code. Below are some sample and advanced examples to help you get started:
using IronQr;
using IronSoftware.Drawing;
// Creating a QR Code
QrCode myQr = QrWriter.Write("hello world"); // String embedded in QR
AnyBitmap qrBitmap = myQr.Save(); // Bitmap object ready for exporting
qrBitmap.SaveAs("qr.png"); // Save QR image to disk
// Reading a QR Code
var qrReader = new QrReader(settings: optionalQrReaderSettings); // Instantiate reader
IEnumerable<QrResult> results = qrReader.Read(new QrImageInput("image.jpg")); // Process image to find QR
IEnumerable<QrResult> asyncResults = await qrReader.ReadAsync(new QrImageInput("image.jpg")); // Async operation
// Advanced QR Code Creation
var optionalOptions = new QrOptions(QrErrorCorrectionLevel.High, 20); // Enhanced QR Creation settings
QrCode myQr = QrWriter.Write("hello world", options: optionalOptions); // Generate QR with specific options
var fancyBrandedQrSettings = new QrStyleOptions // Branding and styling options
{
Dimensions = 300, // size in px
Margins = 10, // margin in 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");
- Proprietary Machine Learning Model optimizes monthly for enhanced detection
- Efficient scanning bypasses background noise
- Precise QR Code interpretation with built-in Error Correction
- Supports numerous image formats and system objects
- Image optimization filters like Contrast and Binarize for clearer results
- Asynchronous and Multithreading capabilities, plus a lightweight detection mode
- Broad document format support including images and web formats
- Embed various data types: Text, URLs, IDs, numbers, and binary data
- Customizable QR Code styles: Resize, modify borders, adjust colors, and integrate logos
To explore code examples, tutorials, and detailed documentation, visit Iron Software's QR Code library page.
For direct support, reach out to us at [email protected]
- API Reference: API documentation
- Licensing Information: License Details
Contact our development team at [email protected] for personalized assistance on licensing and extensive support for your commercial project deployments.