Scan mode (stand alone)

The scan mode is to scan an image and save it to a file.
 
 
 

 

 
 

Supported output formats:

You select the output format by the filename extension.
Which formats are available depends on the compiled in support.
Possible are: pnm, png, ps, jpeg, raw and tiff.
Always available are pnm and ps (and raw).
The other formats are only available if necessary libraries are present (at compilation time AND while xsane is executed). For png you need libpng and libz, for jpeg you need jpeglib, for tiff you need libtiff.
The raw format is a 16 bit format comparable to 16 bit binary pnm format that is not defined, for pnm the 16 bit format only is defined as ascii mode which generates huge and slow files.
The supported output formats depend on the bit depth of the scanned image:

1 bit/pixel black/white mode:

pnm = pbm, png
ps, jpeg and tiff are converted to 8 bit grayscale mode.
 

8 bits/pixel grayscale mode:

pnm = pgm, png, ps, jpeg and tiff
 

24 bits/pixel color mode:

pnm = ppm, png, ps, jpeg and tiff
 

9-16 bits/pixel grayscale mode:

pnm (ascii), png and raw        *** THIS IS EXPERIMENTAL ***
 

27-48 bits/pixel color mode:

pnm (ascii), png and raw        *** THIS IS EXPERIMENTAL ***
 

INDEX