schoero / swissqrbill

Swiss QR Bill generation in Node.js and browsers
MIT License
159 stars 29 forks source link

reduced QR code height #372

Closed clementnuss closed 2 years ago

clementnuss commented 2 years ago

Hi,

could there be a possibility to add an option to e.g. the SVG command, so that the lower part of the generated swissQR code could be removed? complete-qr-bill

Indeed, it takes up valuable space and often makes invoices happen on two pages where one would otherwise suffice.

Thanks for the great library 👏🏻 Clément

schoero commented 2 years ago

Hi Clément

Thank you for your feedback. I would rather not implement such an option, as the layout of the payment part is strictly specified. Cutting out parts of it would violate the specifications and hurt the recognizability of a QR-Bill.

clementnuss commented 2 years ago

Hi Roger,

no problem, I understand your position, I was not aware that the standard was so much precise 😆 not much of a surprise in 🇨🇭 though :)