man-pages/man5/sane-pnm.5.html
2021-03-31 01:06:50 +01:00

104 lines
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of sane-pnm</TITLE>
</HEAD><BODY>
<H1>sane-pnm</H1>
Section: SANE Scanner Access Now Easy (5)<BR>Updated: 14 Jul 2008<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="ixAAB"></A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
sane-pnm - SANE PNM image reader pseudo-backend
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
The
<B>sane-pnm</B>
library implements a SANE (Scanner Access Now Easy) backend that
provides access to PNM (Portable aNyMap files, which covers PBM bitmap
files, PGM grayscale files, and PPM pixmap files). The purpose of
this backend is primarily to aid in debugging of SANE frontends. It
also serves as an illustrative example of a minimal SANE backend.
<A NAME="lbAD">&nbsp;</A>
<H2>DEVICE NAMES</H2>
This backend provides two devices called
<B>0</B>
and
<B>1.</B>
<A NAME="lbAE">&nbsp;</A>
<H2>CONFIGURATION</H2>
No configuration required.
<A NAME="lbAF">&nbsp;</A>
<H2>FILES</H2>
<DL COMPACT>
<DT id="1"><I>@LIBDIR@/libsane-pnm.a</I>
<DD>
The static library implementing this backend.
<DT id="2"><I>@LIBDIR@/libsane-pnm.so</I>
<DD>
The shared library implementing this backend (present on systems that
support dynamic loading).
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>ENVIRONMENT</H2>
<DL COMPACT>
<DT id="3"><B>SANE_DEBUG_PNM</B>
<DD>
If the library was compiled with debug support enabled, this
environment variable controls the debug level for this backend. E.g.,
a value of 128 requests all debug output to be printed. Smaller
levels reduce verbosity.
</DL>
<A NAME="lbAH">&nbsp;</A>
<H2>BUGS</H2>
If the pnm backend is installed and saned is used to allow users on remote
computers to scan on the local machine, pnm files can be read by the remote
user. This is limited to the files saned can access (usually it's running as
user &quot;sane&quot;). All pnm files can be read if saned runs as root which isn't
recommended anyway. The pnm backend is disabled by default. If you want to use
it, enable it with configure (see configure --help for details). Be sure that
only trusted users can access the pnm backend over saned.
<A NAME="lbAI">&nbsp;</A>
<H2>AUTHOR</H2>
Andreas Beck, Gordon Matzigkeit, and David Mosberger
<A NAME="lbAJ">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?7+sane">sane</A>(7)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="4"><A HREF="#lbAB">NAME</A><DD>
<DT id="5"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="6"><A HREF="#lbAD">DEVICE NAMES</A><DD>
<DT id="7"><A HREF="#lbAE">CONFIGURATION</A><DD>
<DT id="8"><A HREF="#lbAF">FILES</A><DD>
<DT id="9"><A HREF="#lbAG">ENVIRONMENT</A><DD>
<DT id="10"><A HREF="#lbAH">BUGS</A><DD>
<DT id="11"><A HREF="#lbAI">AUTHOR</A><DD>
<DT id="12"><A HREF="#lbAJ">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:05 GMT, March 31, 2021
</BODY>
</HTML>