Re: mustek 3-pass backend fix

Matthias Lautner (lautner@hoggle.syscomp.de)
Wed, 16 Apr 1997 11:41:48 +0200 (MET DST)

Hi!

While scanning color with my MFS-12000CX only one pass is done, the grey
image is stretched

- there is a 3-pass loop missing over sane_start(), but how should the
pipe communication work if we make a loop in there?
Should the forked job do the second pass and fork a third job ...
or should it be better to call sane_start() 3 times ?
How is the standard ? The figure in "4.4 Code-Flow" page 31 is unclear but
scan calls sane_start() only one time.

- wich format has the ppm file if you have 3 color planes folowing one after
the other; or do you have to mix it to interleaved mode? (scan doesn't)

- the range of the scanning area seems to be not correct

scan -v -dmustek --mode Gray -t70 -l100 -x80 -y40 --resolution 150 >out.ppm
scan: scanning image of size 486x244 pixels at 8 bits/pixel
This seams to be correct.

scan -v -dmustek --mode Color -t70 -l100 -x80 -y40 --resolution 150 >out.pp
scan: scanning image of size 162x244 pixels at 24 bits/pixel

set mode to the end of the parameterlist:

scan -v -dmustek -t70 -l100 -x80 -y40 --resolution 150 --mode Gray >out.ppm
scan: scanning image of size 694x1688 pixels at 8 bits/pixel

Matthias
------------------------------------------------------------------
Matthias Lautner email: m_lautner@syscomp.de
Fa. SYSCOMP GmbH Augsburg phone: 0821 / 4201-139
Biochemische Dienstleistungen fax : 0821 / 4201-411

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com