alexzhirkevich / custom-qr-generator

Android library for creating QR codes with logo, custom shapes, colors, background image. Powered by ZXing
MIT License
173 stars 18 forks source link

When QR code has more than 800 characters and adding a logo, it taking 4 to 5 seconds to apply #15

Closed hardikbhalodi closed 1 year ago

hardikbhalodi commented 1 year ago

When QR code has more than 800 characters and adding a logo it taking time and sometime hang the app

alexzhirkevich commented 1 year ago

Avoid using QrVectorLogoPadding.Accutate with large QR codes. Use QrVectorLogoPadding.Natural padding or don't use logo padding at all if it possible.

If you need only Accurate padding and nothing else, you can add background to your logo image and use it with default (Empty) padding

hardikbhalodi commented 1 year ago

Okay, will try that thanks.