Skip to content Skip to sidebar Skip to footer

Is It Possible To Change The 'dot' Shape In A Qr Code Generated By Zxing?

Currently, I'm using ZXing to generate QR Codes. I have no problems in generating and reading the codes, and can change the colour scheme without any issues. I was wondering if it

Solution 1:

The library doesn't render the QR code actually, excepting that there's a bit of utility code to write it out as an image in the javase/ module. So I think you would mostly be writing your own code or copying a bit of that. It's not hard. I don't think it's a great idea to render this way as it hurts readability, but probably still substantially works.

Solution 2:

I had a similar issue. I ended up forking zxing and using JitPack to include my fork with Maven. I implemented functionality for RGB masking and for drawing circles and outlined squares as dot shapes. Here is the repository: https://github.com/flotwig/zxing

Post a Comment for "Is It Possible To Change The 'dot' Shape In A Qr Code Generated By Zxing?"