ZXing.ImageSharp generates barcode and cannot generate the number below
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 15/100
Research direction
The report is a title and a screenshot, with no text saying which barcode format fails. Reproduce with ZXing.ImageSharp.BarcodeWriter<Rgba32> using the Format and Options from the snippet, which sets PureBarcode=false on QrCodeEncodingOptions, and compare with a non-QR format. Done means the number below the barcode renders, which needs confirming against the screenshot the issue links. The payload does not show the relevant rendering code, so the first step is locating it in the repository.
Written by the indexing model from the issue text.
Description

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);
- Dominant language
- C#
- Stars
- 3.1k
- Forks
- 704
- Avg merge
- 13d 17h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from micjahn/ZXing.Net
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 3/5 Half a day Newbie friendliness 22/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 12/100
All issues in micjahn/ZXing.Net
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Street address filter matches across line breaks and reads "Dr." in a greeting as a street suffixOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
philterd/phileas-dotnet#185 ·
-
bug 優先: 低
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
.NET area: storage bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Larson-Logan/medal-sync#61 ·
Maintainers usually reply within 1 day