Re: Scan ahead

From: Peter Kirchgessner (peter@kirchgessner.net)
Date: Fri Mar 30 2001 - 12:09:01 PST

  • Next message: JFL Sane Dev: "RE: Scan ahead"

    Hello Marius,

    I dont know a scanner that can store a single frame completely. For an
    A4 scan at 600 dpi with 24bit you would need about 100MB of memory.
    Maybe this works for b/w scans at low resolution. But in that case I
    suppose the scanner will not accept to start a new scan when the image
    has not been read completely.

    Sincerely

    Peter

    > JFL Sane Dev wrote:
    >
    > Hi,
    >
    > I am a beginner with SANE. Could anyone tell me please how should a
    > scan-ahead (automatic scan, the scanner scans asynchronously at
    > highest possible speed to its internal memory buffer, the driver reads
    > images at its own speed from the scanner buffer) image acquisition
    > sequence be implemented in a SANE session?
    >
    > If the driver starts the scanner in automatic mode at first sane_start
    > it receives, would the application have to not request sane_cancel
    > until all images are transferred?
    >
    > If the application would call repeatedly sane_start +
    > sane_read_until_SANE_STATUS_EOF for each image, and then call
    > sane_cancel when sane_start (or sane_read) returns
    > SANE_STATUS_NO_DOCS? Would this be the correct procedure?
    >
    > Thanks,
    > Marius Niculescu

    -- 
    Peter Kirchgessner
    http://www.kirchgessner.net
    mailto:peter@kirchgessner.net
    

    -- 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 : Fri Mar 30 2001 - 11:58:10 PST