Re: [sane-devel] xsane preview scan?

2018-01-04 Thread Jeff Sadowski
correction scanimage --batch=preview.jpg --batch-count=1 --format=jpeg -d -x -y -l 0 -t 0 On Thu, Jan 4, 2018 at 11:46 AM, Jeff Sadowski wrote: > Because I will use the default resolution I will leave out that > argument and I though about if the default scan area

Re: [sane-devel] xsane preview scan?

2018-01-04 Thread Jeff Sadowski
Because I will use the default resolution I will leave out that argument and I though about if the default scan area for -l and -t might not always be 0 so maybe I should do this scanimage --batch=preview.jpg --batch-count=1 --format=jpeg -d --test-picture=Grid -x -y -l 0 -t 0 On Thu, Jan 4,

Re: [sane-devel] xsane preview scan?

2018-01-04 Thread Jeff
On 04/01/18 19:14, Jeff Sadowski wrote: > I'm thinking my best bet is to use the default resolution with max x and max > y. Exactly. A resolution of 1 is too small. This works fine for me: scanimage --batch=preview.jpg --batch-count=1 --format=jpeg -d test:1 --resolution=50 --test-picture=Grid

Re: [sane-devel] xsane preview scan?

2018-01-04 Thread Jeff Sadowski
I'm thinking my best bet is to use the default resolution with max x and max y. On Thu, Jan 4, 2018 at 10:51 AM, Jeff Sadowski wrote: > I have been working on a php implementation of a scanner interface. > > I am making some progress. I have my code at >

[sane-devel] xsane preview scan?

2018-01-04 Thread Jeff Sadowski
I have been working on a php implementation of a scanner interface. I am making some progress. I have my code at https://bitbucket.org/jeffsadowski/phpsaneng (Not anywhere ready for mainstream as for now it just lists the options selected when I hit scan.) I'm at the point where I want to start