# Re: SANE API & file format

From: Mick Barry (mick@objects.com.au)
Date: Fri May 04 2001 - 01:17:41 PDT

- Next message: v.demartino@tin.it: "Re: A simple question"
  - Previous message: shailendra mehta: "RE: SANE API & file format"
  - In reply to: shailendra mehta: "RE: SANE API & file format"
  - Next in thread: Oliver Rauch: "Re: SANE API & file format"
  - Next in thread: Oliver Rauch: "Re: SANE API & file format"
  - Next in thread: Stephen Williams: "Re: SANE API & file format"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Sorry I'm a java developer, haven't written much C for years.
  From memory there's a C library available for JPEG encoding.
  Have a look at http://www.faqs.org/faqs/jpeg-faq/

  shailendra mehta wrote:
  >
  > Hi mick
  > Thanks.
  > But I want help on how these read bytes should be converted to jpeg & stored
  > on disk.
  > I have seen somewhere that it is possible with GIMP plug in.
  > But I want to do it in C progrmming.
  > How this can be achieved.
  > Pls Reply.
  >
  > Thanks & regards
  > --Shailendra
  >
  > >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>
  >
  > --
  > 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

  - Next message: v.demartino@tin.it: "Re: A simple question"
  - Previous message: shailendra mehta: "RE: SANE API & file format"
  - In reply to: shailendra mehta: "RE: SANE API & file format"
  - Next in thread: Oliver Rauch: "Re: SANE API & file format"
  - Next in thread: Oliver Rauch: "Re: SANE API & file format"
  - Next in thread: Stephen Williams: "Re: SANE API & file format"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Fri May 04 2001 - 01:07:48 PDT