Re: Patch for sane.tex (image polarity)

From: Henning Meier-Geinitz (hmg-ml@gmx.de)
Date: Tue Oct 03 2000 - 01:39:00 PDT

  • Next message: Henning Meier-Geinitz: "Re: SCSI or Scanner???"

    Hi,

    On Tue, Oct 03, 2000 at 06:42:39AM +0100, Nick Lamb wrote:
    > In frames of type SANE_FRAME_GRAY, when the bit depth is 1 there are
    > only two sample values possible, 1 represents minimum intensity (black)
    > and 0 represents maximum intensity (white).
    > For all other bit depth and frame type combinations, a sample value of 0
    > represents minimum intensity and larger values represent increasing
    > intensity.

    Yes, the "intensity" wording is better in my opinion.

    > Actually, can anyone tell me (from practical experience) whether I
    > am right that this only affects SANE_FRAME_GRAY? Do we have devices
    > that actually send 1bit RGB frames?

    The Mustek backend had RGB lineart and halftone modes. I don't know any
    Mustek scanner that can do this and so I removed these modes. The old code
    looked like it would use 1 for max intensity and 0 for min intensity. Maybe
    David Mosberger-Tang can tell about the idea of these modes.

    Bye,
      Henning

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Tue Oct 03 2000 - 01:57:50 PDT