Comment 24 for bug 891586

Revision history for this message
2CV67 (2cv67) wrote : Re: Resolution control not working

"can you try: scanimage --x-resolution 600 --y-resolution 600 > si-600-600.pnm etc"

Assuming that was for me, I tried it & added something.
Terminal transcript here & my comments below.

Terminal:

chris@Acer-desk:~$ scanimage --x-resolution 600 --y-resolution 600 > si-600-600.pnm
chris@Acer-desk:~$ scanimage --x-resolution 600 > si-600--.pnm
chris@Acer-desk:~$ scanimage --y-resolution 600 > si---600.pnm
chris@Acer-desk:~$ scanimage --resolution-bind=no --x-resolution 600 --y-resolution 600 > sinb-600-600.pnm
scanimage: unrecognized option '--resolution-bind=no'
chris@Acer-desk:~$ scanimage --x-resolution 150 --y-resolution 150 > si-150-150.pnm
scanimage: rounded value of x-resolution from 150 to 75
scanimage: rounded value of y-resolution from 150 to 100
chris@Acer-desk:~$ scanimage --x-resolution 600 --y-resolution 600 > si-600-600-2.pnm
chris@Acer-desk:~$

Comments:
Tests #1 & #2 & #3 produced results with size & shape consistent with 600dpi where specified & 300dpi elsewhere (107MB / 54MB / 54MB).
Interestingly, no terminal freezing with #1 & #2 but froze after #3.
In fact I see now that terminal does not permanently freeze - but it takes 3 minutes to get back to prompt!
No output with --resolution-bind=no.

I tried #5 with 150-150 which produced the message about rounded values and a result which was 75-100 (2.2MB).
#5 again caused terminal "freeze" which unfroze after 3 minutes...
#6 was just to recheck #1 & was OK with no freeze.

I am out of my depth here, but you seem to be on to something!

Thanks!