Re: SANE API & file format

From: Mick Barry (mick@objects.com.au)
Date: Thu May 03 2001 - 21:26:10 PDT

  • Next message: stef: "Re: New backend: UMAX 1220P sane'ification take 1"

    From sane.h:
    typedef unsigned char SANE_Byte;

    shailendra mehta wrote:
    >
    > Hi mick
    > Thank you for your reply.
    > Can you give me some guidelines regarding storage of the file.
    > Bcos byte format read from API is not char *(or any other standard type) but
    > SANE_bye.
    > What should I do for those read bytes?
    >
    > Thanks again for your help.
    > --Shailendra
    >
    > Sorry Shailendra ,
    >
    > The answer to your question is that SANE does not support storage of
    > specific file formats. The image is returned from the scanner in the
    > format specified in the SANE standard. If you wish to save the image in
    > another format then you are responsible for handling this.
    >
    > mick
    >
    > --
    > Source code, list archive, and docs: http://www.mostang.com/sane/
    > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    --
    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 : Thu May 03 2001 - 21:16:26 PDT