On Fri, 21 May 1999, Andreas Beck wrote:
> > Scan Mode:
> > (...)
> > --negative Negatives|Slides [inactive]
> > Selects the film type, i.e. negatives or slides
> > (...)
> > Extra color adjustments:
> > --negative[=(yes|no)] [yes]
> > Swap black and white
>
> It is a backend bug to have two options with the same name. Maybe we should
> document that in the SANE specs ... ???
>
> Bug the backend maintainer about that. One option should be renamed.
Hi. I am the backend author. I hereby consider myself bugged :-) This will
be corrected in the next version.
Denis: you can try the option "--negative Negatives" or "--negative
Slides", even if it at first sight does not seem to apply to your scanner.
Do try both "Negatives" and "Slides" and see which one gives you the
correct colors.
Another possibility, in case that does not work, would be to specify and
inverted gamma curve, something like this:
scanimage -d canon:/dev/sgb \
--custom-gamma=yes \
--analog-gamma-bind=yes \
--analog-gamma \
`perl -p 'for($i=255;$i;$i--){print "$i,"}print 0'`
--(...other options...)
>
> > By the way, to temporarily work around this problem, does anyone know a
> > program that can convert a negative pbm image into a positive one ?
>
> pnminvert ?
>
You can also use:
convert -negate (in the ImageMagick package)
Regards,
---------------------------------------------------------------------------
Manuel Panea || E-mail: mpd@rzg.mpg.de
Rechenzentrum Garching || http://www.rzg.mpg.de/~mpd
Postfach 1533 || Tel. +49 89 3299 1133
85740 Garching || Fax +49 89 3299 1301
Germany || Public PGP key: see homepage
---------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv
iQCVAwUBN0phGYnxRMteJ3RRAQEwgwQAmnIL7qJApe2LeKQWWUkn6uOLrZswcz/O
USGDSv/2WyDBlCIC7rTRNlLaXANyDc0WQ4m225eSPkJRU9wTu+QRQ6+OFFPv6KfR
MVX8TppSFPfU0MaBP8mG8px4tvbcqSQpkcPLJWCgP1s5tLNlHH3kVw5p20a9tp+6
++64ji+SwP8=
=KIQf
-----END PGP SIGNATURE-----
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com