mirror of
https://github.com/tcsenpai/qrare.git
synced 2025-06-06 19:25:26 +00:00
11 lines
225 B
Python
11 lines
225 B
Python
import qraro
|
|
|
|
with open("pika.webp", "rb") as f:
|
|
data = f.read()
|
|
|
|
qraro.bin_to_qr(data, chunk_size=1000, box_size=10, border=4)
|
|
|
|
test_file = qraro.qr_to_bin()
|
|
|
|
with open("pika_out.webp", "wb") as f:
|
|
f.write(test_file) |