image data format polarity

From: David Paschal (paschal@rcsis.com)
Date: Sat Sep 09 2000 - 03:03:02 PDT

  • Next message: David Paschal: "patch to enable HP OfficeJet support"

    Hi. I discovered a quirk about the image data format expected by frontends,
    in particular xsane and xscanimage. For bit depths >=8 (grayscale, color),
    larger values mean more red, green, blue, or white. On the other hand, for
    1-bit depths (lineart, halftone), 0 means white and 1 means black. Is there
    any particular reason for this, especially since xsane and xscanimage both
    end up having to invert it anyway in order to display a preview? In any
    case, I think this requirement should be mentioned in the SANE Standard
    document.

    David

    --
    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 : Sat Sep 09 2000 - 02:57:01 PDT