[sane-devel] Help on Xsane.

Jon Chambers jon at jon.demon.co.uk
Fri Aug 11 08:07:22 UTC 2006


Hi Rupesh,

On Fri, 11 Aug 2006, Rupesh Tarpara wrote:
> Thanks for the information allan, I have one more doubt.
> The SANE standard (section 3.2) just tells about image transmission, it did
> not gave me details about image file format.
> Different devices have different file formats for RAW image such as
> raf (Fuji)
> .crw .cr2 (Canon)
> [...]

The SANE API knows none of these, just raw RGB or greyscale.  Take another 
look at the spec - the information really is all there.

If your scanner sends you some special format then the SANE backend must 
translate it to raw data, eg: the dell1600n_net backend receives colour 
scans in JPEG format for which it uses libjpeg to convert to RGB data.

cheers,
Jon

====================== Jon Chambers =====================
  http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669
=========================================================



More information about the sane-devel mailing list