All contributions that furthers this project's objective are welcome. As of right now, this project needs quantitative testing of generated QR codes.
How to contribute with testing:
- Build the code with
make debugand run with-g 3; - Generate at least ten QR codes and try to scan it with your mobile device, try edge cases, like switching subsets, different EC levels, forcing Version (except forcing mask);
- Open an issue in this repo with your results (even if all scans succeeded).
How to contribute with code:
- Before opening any PR, create an issue discussing your proposed changes and why they are necessary (e.g. better design pattern);
- Before commiting code, make sure to run it through Valgrind and Cppcheck;
- Unless requiring change, use
clangwithgnu11standard (i.e.c11with GNU extensions). - Build on Windows and Linux (must compile on
amd64, others are optional) before pushing the code.
- Bitmap and SVG will be the only output formats supported. Monochrome bitmaps are packed (not compressed) into bits, but rows are padded to 32-bit longs. Still, it keeps the raster data quite small while avoiding compression. SVGs can be modified to change background/foreground color (and scaling beyond
-soption compared to bitmaps). - Kanji encoding is not likely to be supported in the future, even though it is part of the ISO standard.