[sane-devel] possible fix for wrong colors in microtec2.c
Johannes Meixner
jsmeix at suse.de
Fri Oct 26 12:43:48 UTC 2007
Hello,
I hope Karsten Festag will read this mail.
If not, I will try to contact him directly.
See
https://bugzilla.novell.com/show_bug.cgi?id=329636
which has
https://bugzilla.novell.com/attachment.cgi?id=175617
attached which is a new version of microtec2.c which should
fix wrong colors at least for a microtec scanmaker x6.
I don't have any knowledge about the internals so that
I cannot decide whether or not the new version of microtec2.c
can be used in general or only for a scanmaker x6?
Furthermore in sane-backends CVS dated 2007 Oct 24
microtec2.c is changed compared to sane-backends-1.0.18
as follows:
-------------------------------------------------------------
@@ -5455,7 +5455,11 @@ sane_start(SANE_Handle handle)
|| ( ms->mode != md->shading_table_contents )
)
)
+ {
status = read_cx_shading(ms);
+ if ( status != SANE_STATUS_GOOD )
+ goto cleanup;
+ }
if ( ms->lightlid35 )
/* hopefully this leads to a switched off flatbed ...
-------------------------------------------------------------
(last line is cut here)
Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
More information about the sane-devel
mailing list