# 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???"
  - Previous message: Nick Lamb: "Re: Patch for sane.tex (image polarity)"
  - In reply to: Nick Lamb: "Re: Patch for sane.tex (image polarity)"
  - Next in thread: Oliver Rauch: "Re: Patch for sane.tex (image polarity)"
  - Reply: Oliver Rauch: "Re: Patch for sane.tex (image polarity)"
  - Reply: David Mosberger-Tang: "Re: Patch for sane.tex (image polarity)"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  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

  - Next message: Henning Meier-Geinitz: "Re: SCSI or Scanner???"
  - Previous message: Nick Lamb: "Re: Patch for sane.tex (image polarity)"
  - In reply to: Nick Lamb: "Re: Patch for sane.tex (image polarity)"
  - Next in thread: Oliver Rauch: "Re: Patch for sane.tex (image polarity)"
  - Reply: Oliver Rauch: "Re: Patch for sane.tex (image polarity)"
  - Reply: David Mosberger-Tang: "Re: Patch for sane.tex (image polarity)"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

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