Unusable QR Codes in dark mode

Hi,
The QR Codes displayed on the home page are not usable when using the dark mode, they need a border around to separate them from the background.

This issue can be corrected by modifying the www/views/home.php file and replace the following:
<img ng-src="{{qr(...)}}" style="margin:3px 0">
by
<img ng-src="{{qr(...)}}" style="margin:3px 0;background-color:#fff;padding:3px;">
There is at least 3 occurences to change.
Tested with Repetier-Server 1.0.3 on RPi, may be present in previous versions.

Best Regards,
Nicolas.

Comments

  • Thanks for the hint. Will update for next release.
  • GrinGrin said:
    Hi,
    The QR Codes displayed on the home page are not usable when using the dark mode, they need a border around to separate them from the background.


    This border is named as "quiet zone" and all 2D barcodes need this. Further more in the most specifications or patents the outher visible border is the "clock track" followed with a modulewidth called "quiet zone". 
  • Thanks for the info. Interestingly my iPhone seems not to need it. But testing on android showed it is in deed needed. But for all other scanners it will be in next update:-)
Sign In or Register to comment.