ZXing.ImageSharp generates barcode and cannot generate the number below
murongqingsi opened this issue · 1 comments
murongqingsi commented
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);
micjahn commented
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.