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

IMBReader is not enabled by default

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp

Research direction

The default reader selection is in MultiFormatReader.cs, in the branch taken when no readers or possible formats are set. Check whether IMBReader is missing from that list, and compare with how the explicit PossibleFormats path enables it. Done means a default BarcodeReader decodes an Intelligent Mail barcode sample without extra options. The issue has been open for years with no maintainer decision, so confirm the intended default first.

Written by the indexing model from the issue text.

Description

According to my observations IMBReader is not instantiated by default in the MultiFormatReader.cs code, therefore Intelligent Mail barcodes are not detected. I know that it is possible to overcome this problem explicitly assigning DecodingOptions to BarcodeReader and used this technique in the Sharp IMG Viewer project:
options.PossibleFormats = new BarcodeFormat[] { BarcodeFormat.All_1D, BarcodeFormat.QR_CODE, BarcodeFormat.DATA_MATRIX, BarcodeFormat.AZTEC, BarcodeFormat.PDF_417, BarcodeFormat.MAXICODE, BarcodeFormat.IMB };

Howerer, I wonder if it is possible to modify your source code to include the IMBReader decoder implicitly when (readers == null || readers.Count == 0)?

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.