[sane-devel] test backend

2018-03-30 Thread Jeff
I know about the test backend, and it is very useful. However, it cannot cover every combination of option type/reload that is out in the wild. I often have to spend hours mocking up a backend from a log file to be able to reproduce a bug in gscan2pdf, in order then to be able to fix it. It woul

[sane-devel] "test" backend broke

2009-02-19 Thread m. allan noah
or they are used, but the resolution is unused? allan On Thu, Feb 19, 2009 at 9:03 AM, Chris Bagwell wrote: > I think this is the interesting part of --help? > > Geometry: > -l 0..200mm (in steps of 1) [0] > Top-left x position of scan area. > -t 0..200mm (in steps of 1) [0] > T

[sane-devel] "test" backend broke

2009-02-19 Thread Chris Bagwell
m. allan noah wrote: > or they are used, but the resolution is unused? > > allan > OK, my fault again... I failed to notice that when I converted sanei directory to automake a few days back that it stopped finding config files. :-( It will be fixed within the day. Need to add reference to $(

[sane-devel] "test" backend broke

2009-02-19 Thread m. allan noah
with a couple week old cvs, when i run your command i get this: > scanimage -d test -T scanimage: scanning image of size 157x196 pixels at 8 bits/pixel scanimage: acquiring gray frame, 8 bits/sample scanimage: reading one scanline, 157 bytes... PASS scanimage: reading one byte... PASS s

[sane-devel] "test" backend broke

2009-02-19 Thread Chris Bagwell
I think this is the interesting part of --help? Geometry: -l 0..200mm (in steps of 1) [0] Top-left x position of scan area. -t 0..200mm (in steps of 1) [0] Top-left y position of scan area. -x 0..200mm (in steps of 1) [80] Width of scan-area. -y 0..200mm (

[sane-devel] "test" backend broke

2009-02-18 Thread Chris Bagwell
Hi all, I was converting the testsuite directory to automake but I noticed in CVS version of sane that the following basic command doesn't work. So not much for me to test right now. frontend/scanimage -d test -T lt-scanimage: scanning image of size 1x1 pixels at 8 bits/pixel lt-scanimage: acq

[sane-devel] test backend

2008-09-04 Thread Jeffrey Ratcliffe
2008/9/3 m. allan noah : > actually, if you look at the code, that option is enabled if you set > 'enable-test-options' Absolutely right. Thanks for the info. Regards Jeff

[sane-devel] test backend

2008-09-03 Thread Jeffrey Ratcliffe
In the test backend, the only option with cap & SANE_CAP_AUTOMATIC also has cap & SANE_CAP_INACTIVE. This means that it is impossible to test sane_set_auto. Is this a bug, or am I missing something? Regards Jeff

[sane-devel] test backend

2008-09-03 Thread m. allan noah
actually, if you look at the code, that option is enabled if you set 'enable-test-options' allan On Wed, Sep 3, 2008 at 12:54 PM, m. allan noah wrote: > you would have to inspect the backend to see if there is any code to > deal with that option being in automatic mode. if so, turn it on. > > al

[sane-devel] test backend

2008-09-03 Thread m. allan noah
you would have to inspect the backend to see if there is any code to deal with that option being in automatic mode. if so, turn it on. allan On Wed, Sep 3, 2008 at 9:58 AM, Jeffrey Ratcliffe wrote: > In the test backend, the only option with cap & SANE_CAP_AUTOMATIC > also has cap & SANE_CAP_INA

[sane-devel] test backend

2007-09-06 Thread Étienne Bersac
Hi, As a frontend developer, I'm very interested in such addition to test backend !! Regards, ?tienne. -- E Ultre?a !

[sane-devel] test backend

2007-09-06 Thread Kåre Särs
Hi! While developing a frontend I wanted to handle gamma tables, but I did not have constant access to a scanner providing gamma tables, so I added gamma tables to the test backend. I hope somebody can have use of it. I'm attaching my patch against sane-backends-1.0.18. Regards, K?re S?rs --

[sane-devel] Test-Backend, pthreads & MacOSX

2004-01-21 Thread Jaeger, Gerhard
Hi, I've changed the test-backend, that way, that the reader-process now terminates, when running as thread. This change should allow to run the test-backend on MacOSX without patching the sanei_thread lib. Mattias, you might can check this. By removing your patch from the MacOSX SANE-version, th

[sane-devel] test backend: 1 bit RGB data for grid pattern

2002-09-25 Thread Jonathan Buzzard
dav...@mostang.com said: > Never mind my comments. I missed the fact that you're talking about > 1-bit RGB data only (not 1-bit monochrome, which does make a lot of > sense). I think I added 1-bit RGB just because the Mustek scanner > could do it, but it always was a mystery to me why 1-bit RGB d

[sane-devel] test backend: 1 bit RGB data for grid pattern

2002-09-25 Thread abel deuring
Oliver Schwartz wrote: > Hi, > > On Wednesday 25 September 2002 21:05, Henning Meier-Geinitz wrote: > >>Hi, >> >>On Wed, Sep 25, 2002 at 11:16:15AM -0700, David Mosberger-Tang wrote: >> >>> Oliver> I think that makes sense. When a backend really does >>> Oliver> support this then it can send i

[sane-devel] test backend: 1 bit RGB data for grid pattern

2002-09-25 Thread Oliver Schwartz
Hi, On Wednesday 25 September 2002 21:05, Henning Meier-Geinitz wrote: > Hi, > > On Wed, Sep 25, 2002 at 11:16:15AM -0700, David Mosberger-Tang wrote: > > Oliver> I think that makes sense. When a backend really does > > Oliver> support this then it can send it as 8 bit rgb image. > > > > Do w

[sane-devel] test backend: 1 bit RGB data for grid pattern

2002-09-25 Thread Henning Meier-Geinitz
Hi, On Wed, Sep 25, 2002 at 11:16:15AM -0700, David Mosberger-Tang wrote: > Oliver> I think that makes sense. When a backend really does > Oliver> support this then it can send it as 8 bit rgb image. > > Do we know for a fact that there are no high-speed devices out there > that produce, say

[sane-devel] test backend: 1 bit RGB data for grid pattern

2002-09-25 Thread Oliver Rauch
abel deuring schrieb: > > Henning Meier-Geinitz wrote: > > > > The easiest way would be to > > forbid 1 bit RGB in the standard :-) > > that would indeed be a convenient alternative. I think that makes sense. When a backend really does support this then it can send it as 8 bit rgb image. Bye O

[sane-devel] test backend: 1 bit RGB data for grid pattern

2002-09-25 Thread abel deuring
Henning Meier-Geinitz wrote: > > Hi, > > On Tue, Sep 24, 2002 at 11:58:41PM +0200, abel deuring wrote: > > while playing with the test backend, I noticed that the "scan data" > > produced for the grid pattern in 1 bit RGB mode differs from the output > > for 1 bit grayscale mode. The data for gra

[sane-devel] test backend: 1 bit RGB data for grid pattern

2002-09-25 Thread David Mosberger-Tang
> On Wed, 25 Sep 2002 20:12:27 +0200, Oliver Rauch > said: Oliver> abel deuring schrieb: >> Henning Meier-Geinitz wrote: >> > >> > The easiest way would be to > forbid 1 bit RGB in the standard >> :-) >> that would indeed be a convenient alternative. Oliver> I think that

[sane-devel] test backend: 1 bit RGB data for grid pattern

2002-09-25 Thread David Mosberger-Tang
> On Wed, 25 Sep 2002 20:12:27 +0200, Oliver Rauch > said: Oliver> abel deuring schrieb: >> Henning Meier-Geinitz wrote: >> > >> > The easiest way would be to > forbid 1 bit RGB in the standard >> :-) >> >> that would indeed be a convenient alternative. Oliver> I think

[sane-devel] test backend: 1 bit RGB data for grid pattern

2002-09-25 Thread Henning Meier-Geinitz
Hi, On Tue, Sep 24, 2002 at 11:58:41PM +0200, abel deuring wrote: > while playing with the test backend, I noticed that the "scan data" > produced for the grid pattern in 1 bit RGB mode differs from the output > for 1 bit grayscale mode. The data for gray scale mode is like: Argh, I hate this 1

[sane-devel] test backend: 1 bit RGB data for grid pattern

2002-09-24 Thread abel deuring
Hi all, while playing with the test backend, I noticed that the "scan data" produced for the grid pattern in 1 bit RGB mode differs from the output for 1 bit grayscale mode. The data for gray scale mode is like: ... 00 00 00 0f ff ff ff f0 00 00 00 ... while the data for 1 bit RGB mode

[sane-devel] test backend version 1.0.11 (beta)

2002-04-10 Thread Henning Meier-Geinitz
Hi, Hi, On Wed, Apr 10, 2002 at 09:10:31PM +0200, mh wrote: > I don't have an idea, how a frontend could present all those crazy options in > a reasonable way :-) I'm not sure, either. I just tried everything the standard allows... > E.g. how could/should a user interface for "Int test option

[sane-devel] test backend version 1.0.11 (beta)

2002-04-10 Thread mh
Henning Meier-Geinitz, Dienstag, 9. April 2002 23:51: > Hi, > > Version 1.0.11 of the test backend can be dowloaded from > http://www.meier-geinitz.de/sane/test-backend/ . > > Changes: > > - Bugfixes > - different return stati for sane_read() > - man page > - it's beta now > > I would like to inclu

[sane-devel] test backend version 1.0.11 (beta)

2002-04-09 Thread Henning Meier-Geinitz
Hi, Version 1.0.11 of the test backend can be dowloaded from http://www.meier-geinitz.de/sane/test-backend/ . Changes: - Bugfixes - different return stati for sane_read() - man page - it's beta now I would like to include the test backend into sane-backends so I'm interested in any bug reports