diff --git a/Enigme pas facile.odt b/Enigme pas facile.odt new file mode 100644 index 0000000..2a5a648 Binary files /dev/null and b/Enigme pas facile.odt differ diff --git a/QRCodex.py b/QRCodex.py index ba359c2..130b419 100644 --- a/QRCodex.py +++ b/QRCodex.py @@ -1,12 +1,15 @@ import io +import random +import string # Importing Image and ImageFont, ImageDraw module from PIL package from PIL import Image, ImageFont, ImageDraw #import QRcode generator lib import qrcode #set the text and the code here -text = "█SLHJD!■C■KOQFHY■PKJSOOFH■BY■ONDTTX■GRC■ADLYJ■ZBSH■SOITRM●JKUHSOK●ZA■MAOLH■RVHRPJ!■█" -code = "TCHERNOBYL" #3💪+1👒+2👕+1🧥+1🧣+1🔫+4👂=🤠+❓TCHERNOBYL +#text = "█SLHJD!■C■KOQFHY■PKJSOOFH■BY■ONDTTX■GRC■ADLYJ■ZBSH■SOITRM●JKUHSOK●ZA■MAOLH■RVHRPJ!■█" +text = ''.join(random.choices(string.ascii_uppercase + string.digits, k=441)) +code = "📜📐✂️🕳️🔎🔠" #3💪+1👒+2👕+1🧥+1🧣+1🔫+4👂=🤠+❓TCHERNOBYL textsize = 30 #px @@ -15,7 +18,7 @@ qr = qrcode.QRCode( version=1, #smallest error_correction=qrcode.constants.ERROR_CORRECT_L, box_size=10, - border=0, + border=1, ) qr.add_data(code) @@ -47,7 +50,7 @@ for i, inner_list in enumerate(boolmatrix): color="black" else: font=fontnormal - color="grey" + color=(64,64,64) # drawing a black box if the letter is █ if (letter == '█'): if (element): diff --git a/codex.png b/codex.png index bb7c35e..54022eb 100644 Binary files a/codex.png and b/codex.png differ diff --git a/enigme pas facile.pdf b/enigme pas facile.pdf new file mode 100644 index 0000000..250d1db Binary files /dev/null and b/enigme pas facile.pdf differ diff --git a/enigme pas facile.svg b/enigme pas facile.svg new file mode 100644 index 0000000..6b8dcfc --- /dev/null +++ b/enigme pas facile.svg @@ -0,0 +1,118 @@ + + + +OUICHE diff --git a/qrcode.png b/qrcode.png index 9c08ee8..c357fae 100644 Binary files a/qrcode.png and b/qrcode.png differ