manuelbl / QrCodeGenerator

QR Code Generator for .NET
MIT License
301 stars 77 forks source link

Eyes with rounded corners #28

Open graymatter00 opened 2 months ago

graymatter00 commented 2 months ago

Is it possible for the QR code eyes (the three positioning squares) to have rounded corners?

If not currently possible, could this capability please be added as an option?

manuelbl commented 2 months ago

Currently, it is not possible. It's a graphical effect that isn't very common.

I will consider the proposal. It would be supported with the SVG graphics format. Would this fit your needs? Do you have any specific corner radius in mind? Would the inside of the outer rectangle also be rounded?

There are endless possibilities for graphically enhancing a QR code. Which ones should a library support? There are many graphics formats. Which ones should be supported? There is no standard cross-platform bitmap graphics library in .NET. Which one should be supported?

So far the library is rather restrictive. Instead, many examples are provided for various graphics libraries and frameworks. Different graphical effects and different graphics format can easily be added by code and libraries built on top of this library.

DennisMyers15 commented 3 days ago

I'm looking for a package to replace what QR Code Monkey used to do. Their API went down, but they were generating some really nice looking QR codes. For our use case, this level of customizability would be a great benefit.