ZXing.Net icon indicating copy to clipboard operation
ZXing.Net copied to clipboard

ZXing.ImageSharp generates barcode and cannot generate the number below

Open murongqingsi opened this issue 2 years ago • 1 comments

image var barcodeFormatType = (BarcodeFormat)Enum.Parse(typeof(BarcodeFormat), barcodeFormat); var writer = new ZXing.ImageSharp.BarcodeWriter<Rgba32>(); writer.Format = barcodeFormatType; var Options = new QrCodeEncodingOptions { //DisableECI = true, CharacterSet = "UTF-8", Width = width, Height = height, Margin = 2, PureBarcode=false, }; writer.Options = Options; var image = writer.Write(value); image.Save(pathUrl);

murongqingsi avatar Feb 09 '23 09:02 murongqingsi

That's right. The renderer based on ImageSharp doesn't support it. Perhaps you or someone else can provide a pull request which adds the functionality.

micjahn avatar Feb 10 '23 07:02 micjahn