#!/bin/bash
FILE="${1}"
OUTPUT="${2}"
BIN=$(mktemp)
python encode.py "${FILE}" "${BIN}"
cat "${BIN}" | qrencode -s 10 -8 -o "${OUTPUT}"
rm -f "${BIN}"
#-O3 -flto