Closed EnraH closed 1 year ago
You can generate the QR code only, but it indeed has no quite zone.
Can you describe the use case in more detail? In what context will the QR code be used? What graphics format are you using?
Thank you for the immediate reply. We're embedding the QR Code in HTML that might be rendered in dark mode. Without the quiet zone the QrCode cannot be scanned properly. We're using both png and svg.
This might be a valuable addition. How big should the quite zone be? I'm considering several options:
I'm leaning towards option 2 as it visually consistent and doesn't need additional configuration (which increases complexity for users of the library).
Your considerations sound reasonable to me. If configurability is regarded as useful, it may still be added later on.
A new output size has been added in version 3.0.6: QrCodeWithQuietZone
See https://codecrete.net/SwissQRBill.NET/api/Codecrete.SwissQRBill.Generator.OutputSize.html#fields
Thank you very much for the prompt implementation.
Is it possible to generate a QrCode (QrCodeOnly without the entire payment slip) that has a quite zone (white margin) around it? If not, would it be possible to add such a feature?