IronQR goes beyond basic QR code functionality by offering a rich array of customization options. With the ability to add logos, vibrant colors, controlled spacing, and personalized text to your QR codes, you can make them not only functional but also visually appealing and on-brand. Custom styling allows your QR codes to seamlessly integrate into marketing materials, product packaging, or user interfaces, creating a consistent and engaging user experience. By infusing your unique style into these QR codes, you not only enhance their aesthetic appeal but also increase recognition and engagement. IronQR empowers you to take full control over the visual aspects of your QR codes, ensuring that they become a harmonious part of your brand identity and a valuable tool in your communication strategy.
Learn to Create Custom QR Code Images with IronQRusing IronQr;
using IronSoftware.Drawing;
using Color = IronSoftware.Drawing.Color;
// Set QR options
QrOptions options = new QrOptions(IronQr.QrErrorCorrectionLevel.High, 20);
// Create a QR Code object
QrCode myQr = QrWriter.Write("greetings terra", options);
// Fancy style options
AnyBitmap logoBmp = new AnyBitmap("logo.png");
QrStyleOptions style = new QrStyleOptions
{
Dimensions = 300, // px
Margins = 10, // px
Color = Color.Gray,
Logo = new QrLogo
{
Bitmap = logoBmp,
Width = 100,
Height = 100,
CornerRadius = 2
}
};
// Save QR Code as a Bitmap
AnyBitmap qrImage = myQr.Save(style);
// Save QR Code Bitmap as File
qrImage.SaveAs("qr_styled.png");
Imports IronQr
Imports IronSoftware.Drawing
Imports Color = IronSoftware.Drawing.Color
' Set QR options
Dim options As New QrOptions(IronQr.QrErrorCorrectionLevel.High, 20)
' Create a QR Code object
Dim myQr As QrCode = QrWriter.Write("greetings terra", options)
' Fancy style options
Dim logoBmp As New AnyBitmap("logo.png")
Dim style As New QrStyleOptions With {
.Dimensions = 300, ' px
.Margins = 10, ' px
.Color = Color.Gray,
.Logo = New QrLogo With {
.Bitmap = logoBmp,
.Width = 100,
.Height = 100,
.CornerRadius = 2
}
}
' Save QR Code as a Bitmap
Dim qrImage As AnyBitmap = myQr.Save(style)
' Save QR Code Bitmap as File
qrImage.SaveAs("qr_styled.png")