[sane-devel] Is --resolution x? y? or x and y ?

Sean Darcy seandarcy2 at gmail.com
Mon May 5 19:34:07 UTC 2014

I'm trying to scan from a Brother MFC7360N. The specs say the max optical
scan resolution is 600 x 2400.

scanimage -A
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567

All options specific to device `brother4:net1;dev0':
    --mode Black & White|Gray[Error Diffusion]|True Gray|24bit Color|24bit
Color[Fast] [24bit Color[Fast]]
        Select the scan mode
    --resolution 100|150|200|300|400|600|1200|2400|4800|9600dpi [200]
        Sets the resolution of the scanned image.
    --source FlatBed|Automatic Document Feeder(left aligned)|Automatic
Document Feeder(centrally aligned) [Automatic Document Feeder(left aligned)]
        Selects the scan source (such as a document-feeder).

I've tried:
scanimage -vvv --format pnm -x 215.9 -y 279.4 --mode '24bit Color' -d
'brother4:net1;dev0' --x-resolution 100 --y-resolution 200 --source FlatBed
scanimage: value for --x is: 215.9
scanimage: value for --y is: 279.4
scanimage: unrecognized option '--x-resolution'

So it seems that if the backend doesn't expose --{xy}-resolution it doesn't

If I set --resolution to to 100, do I get 100 x 100 ? 600 -> 600 x 600 ?

But if 1200, do I get interpolated X 1200(optical 600) and optical Y 1200 ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20140505/24a05f8c/attachment.html>

More information about the sane-devel mailing list