Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

property 'EncodingOptions.PureBarcode' not working when using ImageSharp

Aperta
#618 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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':
Image

Output using 'ZXing.Net.Bindings.ImageSharp.V3' (notice no text below barcode):
Image

Output using 'ZXing.Net.Bindings.SkiaSharp.V2':
Image

Below is link to repro project, just a simple .net 9.0 console app which saves images to Desktop:
link

Lingua principale
C#
Stelle
3.1k
Fork
704
Merge medio
13g 17h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di micjahn/ZXing.Net

Tutte le issue di micjahn/ZXing.Net

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.