$ ./qr-backup --restore README.md.qr.pdf -v INFO:root:image restore selected INFO:root:Converting to tif: README.md.qr.pdf CRITICAL:root:Not enough codes could be read to restore the file. Exiting. $ ./qr-backup README.md -v INFO:root:Original arguments were: [] INFO:root:Command arguments parsed. Equivalent command: qr-backup --qr-version 10 --dpi 300 --scale 5 --error-correction L --page 500 600 --compress --filename --use-erasure-coding --shuffle README.md INFO:root:read file README.md (sha 364c5cd743aa85876e0c65a9f25945140471ebe6eed8f4f5d9915b0a24eba2e9, 2.851KB) INFO:root:generate_erasure: perform self-test INFO:root:generate_erasure: deleted first few symbols, restore works fine INFO:root:Restore command is: sort -u | grep "^N" | cut -c6- | base64 -d | tail -c +6 | head -c 1362 | gunzip INFO:root:13 qr codes (at version 10) total INFO:root:QR code (including label) is: 285x285px INFO:root:Page is: 2083x2500px INFO:root:Reducing label size to 24 INFO:root:Reducing label size to 23 INFO:root:Reducing label size to 22 INFO:root:6 x 6 qr codes (at version 10) per page. 1 pages total INFO:root:1367 compressed bytes in 1 page(s). 2.85KB/page including compression, 1.37KB/page without compression INFO:root:7.90KB/page theory without compression) INFO:root:Reducing label size to 24 INFO:root:Reducing label size to 23 INFO:root:Reducing label size to 22 INFO:root:self-test using files INFO:root:Performing linux CLI restore check... INFO:root:Linux CLI command was: convert -density 600 README.md.qr.pdf tif:- | zbarimg --raw -q -Sdisable -Sqrcode.enable - | sort -u | grep "^N" | cut -c6- | base64 -d | tail -c +6 | head -c 1362 | gunzip | cmp README.md INFO:root:Linux CLI exit code was: False INFO:root:Test command was: convert -density 600 README.md.qr.pdf tif:- | zbarimg --raw -q -Sdisable -Sqrcode.enable - | wc -l INFO:root:Performing qr-backup restore check... INFO:root:Self-test command was: ['python3', './qr-backup', '--restore', '--sha256', '364c5cd743aa85876e0c65a9f25945140471ebe6eed8f4f5d9915b0a24eba2e9', 'README.md.qr.pdf'] INFO:root:Self-test exit code was: False INFO:root:Read 0/13 qrs (0.00%) ERROR:root:!!Automatic digital restore verification FAILED (self-test). This indicates a bug in qr-backup. Please report this to the author at https://github.com/za3k/qr-backup/issues