IRONSOFTWAREHOME

How to Add a Logo to QR Codes

Curtis Chau
Curtis Chau
Updated: January 2, 2026

Adding a logo to your QR code transforms a standard pattern into a branded asset. Companies use logo-embedded QR codes on marketing materials, product packaging, and digital campaigns to reinforce brand recognition while maintaining full scannability.

IronQR supports embedding logos through the QrLogo class and the Logo property in QrStyleOptions. The QrLogo constructor accepts parameters for width, height, and corner radius, giving you control over how the logo appears.

In this guide, we'll show you how to embed a logo into your QR codes using IronQR in C#.

Quickstart: Add a Logo to a QR Code

Load a logo image, attach it to QrStyleOptions, and save the branded QR code.

  1. 1Install IronQR with NuGet Package Manager

    PM > Install-Package IronQR

  2. 2Copy and run this code snippet.

    var qrCode = QrWriter.Write("https://example.com");
    var logo = new QrLogo(AnyBitmap.FromFile("logo.png"), 50, 50, 5);
    var style = new QrStyleOptions { Logo = logo };
    qrCode.Save(style).SaveAs("qr-with-logo.png");
    C#
  3. 3Deploy to test on your live environment

    Start using IronQR in your project today with a free trial
    arrow pointer

Embed a Logo in a QR Code

To add a logo, load your image using AnyBitmap.FromFile, then create a QrLogo object specifying the width, height, and corner radius. Assign it to the Logo property in QrStyleOptions.

For best results, use a square logo with a transparent or white background. The corner radius parameter allows you to round the logo edges for a polished look.

using IronQr;
using IronSoftware.Drawing;

// Load new logo image
AnyBitmap logo = AnyBitmap.FromFile("sample.png");

// Add new logo to QR code style options
QrStyleOptions styleOptions = new QrStyleOptions()
{
    Logo = new QrLogo(logo, 0, 0, 10),
    Dimensions = 500,
};

// Create QR code with URL data
QrCode qr = QrWriter.Write("https://ironsoftware.com/csharp/qr/");

// Save QR code as a bitmap
AnyBitmap qrImage = qr.Save(styleOptions);

// Save QR code bitmap as file
qrImage.SaveAs("qrURLWithLogo.png");

Output

QR code with embedded logo

What's Next?

Once your logo is in place, consider adjusting the QR code colors to match your brand palette, adding margins for cleaner scanning at smaller sizes, or setting error correction levels to ensure the code stays readable with a larger logo overlay.

Frequently Asked Questions

How do I add a logo to a QR code using IronQR?

You can add a logo to a QR code by using IronQR's QrLogo class and the Logo property in QrStyleOptions. Load your logo image, create a QrLogo object with size parameters, and assign it to the QrStyleOptions before saving your QR code.

What are the advantages of embedding a logo in a QR code?

Embedding a logo in a QR code turns it into a branded asset, enhancing brand recognition across marketing materials, product packaging, and digital campaigns while maintaining its scannability.

Can I control the appearance of the embedded logo in the QR code?

Yes, IronQR allows you to control the appearance of the embedded logo with the QrLogo class, which accepts parameters for width, height, and corner radius.

What image formats can I use for the logo in the QR code?

You can load your logo image using AnyBitmap.FromFile, which supports various image formats commonly used in digital branding.

What should I consider when choosing a logo for a QR code?

For best results, use a square logo with a transparent or white background to ensure the logo integrates smoothly and is visually appealing.

Why is the corner radius important when embedding logos in QR codes?

The corner radius allows you to round the edges of your logo, providing a polished and professional appearance, especially if the logo has sharp angles.

Can I customize the size of the QR code along with embedding a logo?

Yes, the QrStyleOptions allows you to specify dimensions for the QR code, enabling you to create a QR code that fits your specific needs.

How do I save a QR code with an embedded logo using IronQR?

After configuring your QR code with the QrLogo and QrStyleOptions, you can save the final QR code as an image file using the SaveAs method.

What should I do after embedding a logo in my QR code?

Consider customizing your QR code further by adjusting colors to match your brand, adding margins for better scanning, or setting error correction levels for enhanced readability.

Can embedded logo QR codes still be scanned effectively?

Yes, even with an embedded logo, IronQR ensures that the QR code maintains full scannability by allowing you to set appropriate error correction levels.

Curtis Chau
Technical Writer

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.

...
Read More

Ready to Get Started?

Nuget Downloads 74,386Version:2026.9just released

Get your free 30-day Trial Key instantly.
No credit card or account creation required
C# NuGet Library for PDF
Install with NuGet

Version: 2026.9

PM > Install-Package IronQR
nuget.org/packages/IronQR/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronQR"
  3. Select the package and install
C# PDF DLL
Download DLL

Version: 2026.9

  1. Download and unzip IronQR to a location such as ~/Libs within your Solution directory
  2. In Visual Studio Solution Explorer, right click References. Select Browse, "IronQR.dll"

Licenses from $999

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required