[sane-devel] Preferred configuration file philosophy

2005-07-26 Thread Gregory C. Johnson
Whilst pomdering sp15c.c, I started wondering: Does anyone know what the current "best practices" cross-platform configuration file strategy is? I know *ix is all mixed up with rc files, conf files, etc. Windows only has two personalities I'm familiar with, INIs & Registry entries OS/2 - I'd gu

[sane-devel] ASPI & TWAIN debug logs

2005-07-16 Thread Gregory C. Johnson
> "Gregory C. Johnson" schrieb am > 14.07.05 18:32:55: >> I'm looking for a way to log SCSI events under Win98 or 2000... Do you >> know of any beyond the methods listed in >> http://www.meier-geinitz.de/sane/misc/develop.html ? > > Hi Greg, > >

[sane-devel] ASPI sniffing under Win98

2005-07-14 Thread Gregory C. Johnson
> From: Richard Metzger > So I started to recode the pieces, that I could identify for using the > ASPI interface. I'm looking for a way to log SCSI events under Win98 or 2000... Do you know of any beyond the methods listed in http://www.meier-geinitz.de/sane/misc/develop.html ? (As I type I a

[sane-devel] Re: sane-devel digest, Vol 1 #826 - 6 msgs

2005-07-05 Thread Gregory C. Johnson
>Using lower bitdepth may still be faster than higher ones. So even if >the size of the resulting image file is the same, lower depth may be >useful if your scanner is faster with the lower depth. True, though that's not the case here. (AFAIK, I've not time()ed the scans, though I probably will so

[sane-devel] RE: sp15c - 4 Bit gray generates 8 bit files

2005-07-03 Thread Gregory C. Johnson
> Message: 9 > Date: Sun, 3 Jul 2005 16:38:13 +0200 > From: Henning Meier-Geinitz > To: sane-devel@lists.alioth.debian.org > Subject: Re: [sane-devel] sp15c - 4 Bit gray generates 8 bit files > > Hi, > > On Sun, Jul 03, 2005 at 05:03:52AM -0400, Gregory C. Johnson

[sane-devel] sp15c - 4 Bit gray generates 8 bit files

2005-07-03 Thread Gregory C. Johnson
[[Posted from list subscribing address to avoid further burdening mods]] >From sp15.c's reader_process() . . . /* expand 4-bit pixels to 8-bit bytes */ if (scanner->composition == WD_comp_G4) { src = &scanner->buffer[data_to_read - 1]; dst = &scanner->buffer

[sane-devel] sp15c - 4 Bit gray generates 8 bit files

2005-07-03 Thread Gregory C. Johnson
from sp15.c's reader_process() . . . /* expand 4-bit pixels to 8-bit bytes */ if (scanner->composition == WD_comp_G4) { src = &scanner->buffer[data_to_read - 1]; dst = &scanner->buffer[data_to_read * 2 - 1]; for (i = 0; i < data_to_read; i++)