Skip to content

Commit

Permalink
make qr code render with nearest neighbour/pixelated scaling
Browse files Browse the repository at this point in the history
this makes the edges more sharp and should improve scanning
  • Loading branch information
Simon-Laux authored Apr 11, 2024
1 parent f1c8e31 commit c70b8b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@
height:200px;
margin: auto;
}

#qrcode img {
image-rendering: pixelated;
}
</style>
</head>
<body>
Expand Down

0 comments on commit c70b8b9

Please sign in to comment.