Fixing time
I have identified all of the bugs (hopefully) and marked everything that has to be fixed.
Fixed Stuff
- Current bit-stream builder in
build_matrixwrites all bits including the full 8-bit last data CW, then starts ECC. For M1/M3, the correct order is: 10 data CW (80 bits) + 4-bit partial + 6 ECC CW (48 bits). The current code writes all 17 CW as bits sequentially which gives the WRONG bit order.So I fixed the bit placement in build_matrix for M1/M3 - fixed
encode_datato use zero padding for Micro QR and handle the M1/M3 last-4-bit rule.
Need to be fixed
- I need to
fix _apply_maskto use Micro QR mask conditions (indices 1,4,6,7 of standard) for micro QR, and add a separate_MICRO_MASK_CONDITIONSlist. - Need to fix the
_min_versioncapacity checker, which has the same wrong cc_bits values
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.