zint / zint-gpl-only

Zint Barcode Generator
https://zint.org.uk/
GNU General Public License v3.0
525 stars 138 forks source link

QR Code not readable when Background is 'BLACK' and Foreground is 'White'... #87

Closed aiamuzz closed 2 years ago

aiamuzz commented 2 years ago

Hi,

I have just installed your wonderful application and testing it.

When i changed the Background to 'Black' and the foreground to 'White' the QR Code is not readable the QR Code mobile apps

Zint generated QR Codes :

URL : https://www.aakziom.com/fun-campaigns

Zint default QR Code ... BlackONWhite-FunCampaigns

Zint BlackBG QR Code ... (THIS IS NOT READABLE, YOU CAN TRY SCANNING IT) WhiteONBlack-FunCampaigns

Am i missing some setting that will enable a Dark Background QR Code to be readable just fine as the standard white background QR codes ?

Looking forward to your response ...

thanks.

aiamuzz commented 2 years ago

However the QR code I generate from the online service, reads the QR codes with both the White Background and Black Background ones just fine.

https://www.the-qrcode-generator.com/

the-qrcode-generator (default QR Code) the-qrcode-generator-Black on White

the-qrcode-generator (BlackBG QR Code) the-qrcode-generator-White on Black

Please find a small video i recorded on this website, please see how the QRCode keeps switching between various backgrounds ...

Record_select-area_20220604154149

I think its a small adjustment that needs to be factored when Backgrounds are switched just like how the-qrcode-generator website as accomodated.

Look forward to being able to generate Black Background QR codes as our product surface on which the QR codes will be printed are black...

thanks.

aiamuzz commented 2 years ago

Please find the above 'decoded' ... The default black-on-white QR Code should be reversed and the corners(same demonstrated in the video below) welded to the reversed code.

if you want to add this as an option/feature ... just add the following entry to your current UI under the 'Appearance' tab ...

If the above is checked than the following operations should effect ...

Record_select-area_20220604165941

aiamuzz commented 2 years ago

@g3rrk ... @ismaell & @trevor ...

look forward to this feature ...

if the QR code is not constructed as i've observed above then your Appearance Tab and the feature it consists where one can change the 'Background and Foreground Colors' will be dysfunctional(with the QR Code rendered unreadable) with the colors serving no purpose other than cosmetic. A colorful QR Code but a dysfunctional QR Code is a misnomer in itself.

gitlost commented 2 years ago

This was opened on SourceForge at https://sourceforge.net/p/zint/tickets/259/ and is marked as resolved, so am closing this. If you've any further feedback please comment on the SourceForge ticket or open a new one, thanks for the feedback.