[sane-devel] scanimage does not recognize basic long options

Karl Weber karl.weber99 at gmail.com
Thu Feb 2 21:31:47 GMT 2023


Hi,

I came to the mentioned package through this issue

https://gitlab.com/sane-project/backends/-/issues/440

Meanwhile, I worked with a git clone, however with the same result :(

On Thursday, 2 February 2023 22:01:03 CET Ralph Little wrote:
> I downloaded and built said package and I don't see the same issue:
> 
> scanimage --format=tiff -d 'test:0' --resolution 200 -x 210.000 -y 296.985
> --mode Color  --batch="sid-600-%03d.tiff" --source 'Automatic Document
> Feeder' --batch-count=1
> 
> This works for me just fine.

Ok. When I enter the command like you did, I get

scanimage: rounded value of br-x from 210 to 200
scanimage: rounded value of br-y from 296.985 to 200
Scanning 1 page, incrementing by 1, numbering from 1
Scanning page 1
Scanned page 1. (scanner status = 5)
Batch terminated, 1 page scanned

When I enter

scanimage --format=jpeg --resolution 200 -x 210.000 -y 296.985 --mode Color --
batch="fff-%03d.jpeg" --source ADF --batch-count=3

I get

scanimage: unrecognized option '--format=jpeg'

The backend used in this case is hpaio.

Thanks 
Karl












More information about the sane-devel mailing list