Skip to content

feat: Add rMQR Code encoder#83

Open
sorairolake wants to merge 3 commits intokennytm:masterfrom
sorairolake:feature/rmqr-code
Open

feat: Add rMQR Code encoder#83
sorairolake wants to merge 3 commits intokennytm:masterfrom
sorairolake:feature/rmqr-code

Conversation

@sorairolake
Copy link
Copy Markdown
Contributor

@sorairolake sorairolake commented Aug 21, 2025

This pull request adds a rMQR Code (Rectangular Micro QR Code) encoder to this crate. It's standardized as ISO/IEC 23941.

This implementation is based on the qrqrpar crate, which is a fork of this crate. It's licensed under the BSD 3-Clause "New" or "Revised" License, so I think it's possible to import the code from the qrqrpar crate into this crate.

The shape of rMQR Code is rectangular, not square. So I changed Renderer::new to take the vertical modules count in addition to the horizontal modules count.1 This is a breaking change.

Closes #80

Footnotes

  1. Except for rMQR code, the horizontal modules count and the vertical modules count should be the same value.

@sorairolake sorairolake force-pushed the feature/rmqr-code branch 2 times, most recently from 844d0f0 to 37f2fe2 Compare August 21, 2025 04:51
@sorairolake
Copy link
Copy Markdown
Contributor Author

I added the license information for this crate and the qrqrpar crate to README.md just in case. This is because this encoder is based on the qrqrpar crate's implementation.

@sorairolake sorairolake marked this pull request as draft August 21, 2025 06:39
@sorairolake sorairolake marked this pull request as ready for review August 21, 2025 08:19
@sorairolake sorairolake marked this pull request as draft August 21, 2025 08:22
@sorairolake sorairolake marked this pull request as ready for review August 21, 2025 09:24
This implementation is based on the
[`qrqrpar`](https://crates.io/crates/qrqrpar) crate.
@sorairolake sorairolake marked this pull request as draft September 30, 2025 01:02
@sorairolake sorairolake marked this pull request as ready for review September 30, 2025 02:58
@sorairolake sorairolake force-pushed the feature/rmqr-code branch 3 times, most recently from 12247d7 to ca5cc71 Compare October 1, 2025 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Add rMQR Code encoder

1 participant