Re: image data format polarity

From: Petter Reinholdtsen (pere@hungry.com)
Date: Sun Sep 10 2000 - 21:36:03 PDT

  • Next message: Steve Underwood: "Re: SnapScan Backend"

    [David Paschal]
    > 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?

    This sounds like a bug to me. The only partly sensible reason I can
    make up on the fly to use a encoding like this is to make sure black
    writing on white paper give mostly 0 bits.

    > In any case, I think this requirement should be mentioned in the
    > SANE Standard document.

    Suggest a wording, post a patch. :-)

    -- 
    ##>  Petter Reinholdtsen  <##  |  pere@td.org.uit.no
    

    -- 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 : Sun Sep 10 2000 - 21:31:45 PDT