How can I generate circular QR codes? I would like to generate a QR code that is drawn with circles instead of squares. I currently have this code:
public Bitmap GenerateQR(string text)
{
BarcodeWriter br = new BarcodeWriter();
EncodingOptions encodingOptions = new EncodingOptions()
{
Width = 300,
Height = 300,
Margin = 1,
PureBarcode = false,
};
encodingOptions.Hints.Add(EncodeHintType.ERROR_CORRECTION, ErrorCorrectionLevel.H);
br.Options = encodingOptions;
br.Format = BarcodeFormat.QR_CODE;
if (!string.IsNullOrWhiteSpace(text))
{
br.Renderer = new BitmapRenderer()
{
Foreground = Color.Black,
Background = Color.White,
};
return br.Write(texto);
}
}
I use C# and the Zxing library.
I need something like this:

Here is the C# equivalent implementation.