ByteScout QR Code SDK - C# - Make QR Code With Image - ByteScout

ByteScout QR Code SDK – C# – Make QR Code With Image

  • Home
  • /
  • Articles
  • /
  • ByteScout QR Code SDK – C# – Make QR Code With Image

How to make QR code with image in C# with ByteScout QR Code

How to make QR code with image in C#

Make QR code with image is easy to implement in C# if you use these source codes below. ByteScout QR Code can make QR code with image. It can be used from C#. ByteScout QR Code is QR Code generation library. It provides full control on the quality, features and encoding. Can embed logo image right into QR Code itself. Batch barcode generation, and many special features like vCard or URL encoding are also supported.

The SDK samples like this one below explain how to quickly make your application do make QR code with image in C# with the help of ByteScout QR Code. Just copy and paste the code into your C# application’s code and follow the instruction. You can use these C# sample examples in one or many applications.

ByteScout QR Code free trial version is available on our website. C# and other programming languages are supported.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Program.cs
      
using System; using System.Diagnostics; using Bytescout.BarCode; namespace QRCodeWithImage { class Program { static void Main(string[] args) { const string decorationImageFile = @".\logo.png"; const string outputFile = @".\barcode.png"; const string barcodeValue = "1234567890 abcdefghijklmnopqrstuvwxyz 1234567890 abcdefghijklmnopqrstuvwxyz"; // Create and activate QRCode instance using (QRCode barcode = new QRCode("demo", "demo")) { // Set high QR Code error correction level barcode.QROption_ErrorCorrectionLevel = QRErrorCorrectionLevel.High; // Set barcode value barcode.Value = barcodeValue; // Add decoration image and scale it to 15% of the barcode square barcode.AddDecorationImage(decorationImageFile, 15); // Save generated barcode barcode.SaveImage(outputFile); // Open the result image in default image viewer (for demo purpose) Process.Start(outputFile); } } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout QR Code Home Page

Explore ByteScout QR Code Documentation

Explore Samples

Sign Up for ByteScout QR Code Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout QR Code Home Page

Explore ByteScout QR Code Documentation

Explore Samples

Sign Up for ByteScout QR Code Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next