From 4b549592bfa99aa70c38a5edfd19460a11b77337 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> Date: Wed, 11 Sep 2024 11:35:07 +0200 Subject: [PATCH] README.md: add example of how to use img2pdf together with scanimage --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 8d33a36..5004586 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,12 @@ The detailed documentation can be accessed by running: $ img2pdf --help +With no command line arguments supplied, img2pdf will read a single image from +standard input and write the resulting PDF to standard output. Here is an +example for how to scan directly to PDF using scanimage(1) from SANE: + + $ scanimage --mode=Color --resolution=300 | pnmtojpeg -quality 90 | img2pdf > scan.pdf + Bugs ----