Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ZXing.ImageSharp generates barcode and cannot generate the number below

Open
#484 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
15/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
backend

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

enhancement help wanted

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);

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from micjahn/ZXing.Net

All issues in micjahn/ZXing.Net

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.