-
-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corner radius for barcode data #331
Comments
Hi @UVLabs thank you for your suggestion. looks like a nice addition. I don't have the time to do this myself but I will mark this as an opportunity for contribution. |
Hey @endroid, I would like to do this, also I would like to add possibility to change corner shape, to add an overlay if possible. What's the best place to start checking the code for such features to implement? |
Hi @syntaxgirl you could create your own writer, like the ones created here https://github.com/endroid/qr-code/tree/master/src/Writer. As you can see in the PngWriter you can start by retrieving the matrix and then use that to build your drawing logic on. For the PNG writer this is a simple loop but for determining if you want round corners you probably want to check adjacent cells. Good luck! |
I'm closing this ticket because of lack of input. However if anyone still wants to add this feature, feel free to reopen / make a PR. |
challenge accepted. |
Is it possible to create barcodes with corner radius like this?
You can see this in action here: https://larsjung.de/jquery-qrcode/latest/demo/
https://larsjung.de/jquery-qrcode/
Other customization ideas can be seen here:
https://larsjung.de/jquery-qrcode/
https://larsjung.de/kjua/
The text was updated successfully, but these errors were encountered: