[sane-devel] simulate a scan with test device?
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...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the sane-devel