Skip to content

Compare: Advanced usage QR Code renderers

Showing with 23 additions and 2 deletions.
  1. +16 −1 Advanced-usage---Payload-generators.md
  2. +4 −1 Advanced-usage---QR-Code-renderers.md
  3. +3 −0 Release-Notes.md
5 changes: 4 additions & 1 deletion Advanced-usage---QR-Code-renderers.md

2. Overview of the different Renderers

The following table gives an overview of which renderer is available on which target platforms and which datatype it generates.

Name Output Format .NET3.5+ .NET4.0+ .NET5.0 .NET5.0-windows .NET6.0 .NET6.0-windows .NETStandard1.3+ .NETStandard2.0+
QRCode Bitmap-object (System.Drawing.Bitmap)
AsciiQrCode String (QR Code encoded as ASCII chars)
Base64QRCode String (QR Code encoded as Base64)
BitmapByteQRCode Byte-Array containing raw Bitmap
PngByteQRCode Byte-Array containing raw PNG image
SvgQRCode String (QR Coded as SVG vector graphic)
UnityQRCode (via QRCoder.Unity nuget-package) Texture2D (UnityEngine.Texture2D)
XamlQRCode (via QRCoder.Xaml nuget-package) DrawingImage (for usage in WPF, Silverlight, etc.)
PostscriptQRCode String (QR code encoded as PS/EPS string.)
PdfByteQRCode Byte-Array containing raw PDF document
ArtQRCode Bitmap-object (System.Drawing.Bitmap)
Name Output Format .NET3.5+ .NET4.0+ .NET5.0 .NET5.0-windows .NET6.0 .NET6.0-windows .NETStandard1.3+ .NETStandard2.0+
QRCode Bitmap-object (System.Drawing.Bitmap)
AsciiQrCode String (QR Code encoded as ASCII chars)
Base64QRCode String (QR Code encoded as Base64) (1)
BitmapByteQRCode Byte-Array containing raw Bitmap
PngByteQRCode Byte-Array containing raw PNG image
SvgQRCode String (QR Coded as SVG vector graphic)
UnityQRCode (via QRCoder.Unity nuget-package) Texture2D (UnityEngine.Texture2D)
XamlQRCode (via QRCoder.Xaml nuget-package) DrawingImage (for usage in WPF, Silverlight, etc.)
PostscriptQRCode String (QR code encoded as PS/EPS string.)
PdfByteQRCode Byte-Array containing raw PDF document
ArtQRCode Bitmap-object (System.Drawing.Bitmap)

(1) On platforms other than Windows only PNG is supported in Base64QRCode

2.1 QRCode-Renderer in detail

Classname/Classfile: QRCode/QRCode.cs

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The following table gives an overview of which renderer is available on which ta
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|QRCode|Bitmap-object (System.Drawing.Bitmap)|||||||||
|AsciiQrCode|String (QR Code encoded as ASCII chars)|||||||||
|Base64QRCode|String (QR Code encoded as Base64)|||||||||
|Base64QRCode|String (QR Code encoded as Base64)|||||✔<sup>(1)</sup>||||
|BitmapByteQRCode|Byte-Array containing raw Bitmap|||||||||
|PngByteQRCode|Byte-Array containing raw PNG image|||||||||
|SvgQRCode|String (QR Coded as SVG vector graphic)|||||||||
Expand All @@ -43,6 +43,9 @@ The following table gives an overview of which renderer is available on which ta
|PdfByteQRCode|Byte-Array containing raw PDF document|||||||||
|ArtQRCode|Bitmap-object (System.Drawing.Bitmap)|||||||||

<sup>(1)</sup> *On platforms other than Windows only PNG is supported in Base64QRCode*


## 2.1 QRCode-Renderer in detail
**Classname/Classfile:** QRCode/QRCode.cs

Expand Down