Comments (4)
I'll look into it, because I think the behavior isn't consistent through the library. The binary output also may not be consistent between the different qrcode readers (there are two). I think there is an issue, primarily that the library isn't consistent. I'm going to reopen and flag it as a bug because it needs to be tracked and at least made consistent.
from rxing.
I'll look into this
from rxing.
What's happening is that the Aztec code is being returned with the raw bytes read from the symbol. That includes some control codes and packing done by the encoder to fit the symbols into the smallest possible shape.
My conception of "raw bytes" is the bytes encoded by the symbol minus error correction (in this case: [224, 132, 47]).
I'm going to have to look into what is happening with the qrcode, because I don't remember specifically why it is returning those values, but my guess is that they were encoded as bytes into the symbol. I'll double check though.
Does this make sense?
from rxing.
That makes perfect sense. Notice that zxing-cpp behaves differently so maybe it's worth making this point clear (or maybe it's already in the doc that I didn't read so carefully! ;) )
from rxing.
Related Issues (20)
- Possible Use for Generics HOT 7
- Decouple encoding crate from library
- Add Benchmarks
- Add special case reader for multiple reuse situations
- Enable all ECI encodings HOT 1
- Library should support MicroQR HOT 1
- Port Updated qrcode decode / detect from zxing-cpp HOT 3
- detect_in_luma supports only square input HOT 14
- get in BitMatrix goes out of bounds for Maxicode in certain image. HOT 4
- encoding pdf417_compact has extra white space HOT 2
- Barcode rotate bug HOT 2
- rxing-cli fails to build HOT 2
- Index out of bounds in FitQadrilateralToPoints try_get_range HOT 4
- Join forces with zxing-cpp? HOT 11
- Support Telepen barcodes for reading and writing HOT 7
- Using webcam images in buffer HOT 2
- Move to a more βrustβ appropriate DecodeOptions approach
- Performance Tuning
- The multiple barcodes decoder issue HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxing.