From b135bf3bb92e3768cd6af0c74e11d8cbd0e15cc0 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 11 Nov 2026 12:05:27 +0100 Subject: tools: barcode, read QR and barcodes in attached images ZXingReader (zxing-cpp) one-line mode, no wrapper script. Images only. Co-Authored-By: Claude Opus 5.5 --- examples/tools/barcode.toml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/tools/barcode.toml (limited to 'examples/tools') diff --git a/examples/tools/barcode.toml b/examples/tools/barcode.toml new file mode 100644 index 0000000..06502ff --- /dev/null +++ b/examples/tools/barcode.toml @@ -0,0 +1,8 @@ +description = "Read barcodes and QR codes in an attached image: QR, Data Matrix, Aztec, PDF417, EAN/UPC, Code 128/39/93, ITF, Codabar, DataBar. One line per code found: file, format, then the decoded text in quotes. 'None' means no code was found; no output at all means the image could not be read. Use it instead of reading a code from the picture yourself." +command = ["ZXingReader", "-1", "{path}"] +cloud = ["hetzner"] +timeout = 20 + +[params.path] +type = "string" +description = "Absolute path of the attached image, from its image block." -- cgit v1.2.3