property 'EncodingOptions.PureBarcode' not working when using ImageSharp
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- computer-graphics
Research direction
Start with the repro project linked in the issue and compare the ImageSharp output with the Windows Compatibility and SkiaSharp outputs for the same Code 128 input. Find where EncodingOptions.PureBarcode is read in the ImageSharp binding's rendering path, and check the property's intended meaning before changing anything. Done means the ImageSharp output matches the expected behavior for PureBarcode and the other bindings, verified by re-running the repro project.
Written by the indexing model from the issue text.
Description
Hi,
property 'EncodingOptions.PureBarcode' in not working when using ImageSharp
(tested with .net 9.0 on Windows and NuGet package 'ZXing.Net.Bindings.ImageSharp.V3').
It works when using 'ZXing.Net.Bindings.Windows.Compatibility'
and 'ZXing.Net.Bindings.SkiaSharp.V2'.
Example outputs from repro project, tested with code 128 only
Output using 'ZXing.Net.Bindings.Windows.Compatibility':
Output using 'ZXing.Net.Bindings.ImageSharp.V3' (notice no text below barcode):
Output using 'ZXing.Net.Bindings.SkiaSharp.V2':
Below is link to repro project, just a simple .net 9.0 console app which saves images to Desktop:
link
- 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
-
crop() overrides document "0 <= top <= Height"; should be top < Height like left < WidthPossibly taken @hidingmyname claimed this 1 day ago. Open
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 4/5 3-5 days Newbie friendliness 12/100
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
All issues in micjahn/ZXing.Net
Similar issues
-
bug effort:S P3
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
nightscout/nocturne#3093 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100