IronQR.Slim - The lightweight package for writing and reading QR codes.
$ dotnet add package IronQR.Slim
PM> Install-Package IronQR
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");Dive deeper with our extensive documentation and examples:
Tutorials: Step-by-step guides to help you create your first QR Code application.
Code Examples: Concise set of code that can be easily executable.
How-To Guides: Practical, goal-oriented instructions to solve specific problems.
Demo: Detailed technical descriptions of the API and its components.
API Reference: Demonstrating guides that showcase how IronQR works the way it does.
Read QR Code: Reliably scan and decode QR codes from images and PDFs, including those of poor quality.
Generate QR Code: Create and customize QR codes with full control over size, color, and logo, and export them to images.
QR Code Types: Comprehensive support for standard QR code formats including QR Code, Micro QR Code, RMQRCode, for both reading and writing.
Supported Applications: Perfect for a wide range of applications and integrations including desktop, web, and mobile apps.
Platforms: .NET 10, .NET 9, .NET 8, .NET 7, .NET 6, .NET 5, Core 2x & 3x, Standard 2
Framework: .NET Framework 4.6.2 (and above)
App Models: Console, Web, and Desktop Apps
Operating Systems: Windows, macOS, Linux (Debian, CentOS, Ubuntu), iOS, Android
Cloud & Containerization Platforms: Azure, AWS, Docker
IDEs: Microsoft Visual Studio or Jetbrains ReSharper & Rider
IronQR is a commercially licensed product.
Have a question or running into an issue?
Email Support: Reach out to our team directly at support@ironsoftware.com.
Live Chat Support: https://ironsoftware.com/csharp/qr/#helpscout-support
Report a Bug: https://ironsoftware.com/ticket-submission/
Community: https://ironsoftware.com/company/iron-slack-community/