[sane-devel] simulate a scan with test device?

Jeff jffry at posteo.net
Sat Sep 30 20:35:39 UTC 2017

On 29/09/17 22:30, Jeff Sadowski wrote:
> Most of the systems I am using don't have actual scanners attached. I'd
> like to simulate a flatbed scanner by copying an image chunk by chunk
> with a delay and even simulate selecting an area and resolution by using
> a high def image to copy from and get a lower res depending on the
> settings I give. Is this already built into sane-test backend somehow?
> When I tried with
> scanimage -d 'test:0' --batch="sane-test%d.tiff" --batch-count 1
> --format tiff
> I output image was all black and there was no delay
> I'm thinking I could simulate this using imagemagick's convert program
> and a simple program to copy a bit at a time.

If you look at scanimage --device=test --help, you will see that there
is a delay option (along with almost anything else you need to test your



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20170930/4a0c2c7f/attachment.sig>

More information about the sane-devel mailing list