man-pages/man1/anytopnm.1.html
2021-03-31 01:06:50 +01:00

117 lines
2.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of anytopnm</TITLE>
</HEAD><BODY>
<H1>anytopnm</H1>
Section: User Commands (1)<BR>Updated: 11 July 2000<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
anytopnm - attempt to convert an unknown type of image file to a portable anymap
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>anytopnm</B>
[<I>file</I>]
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>anytopnm</B>
converts the input image, which may be in any of dozens of graphics
formats, to PBM, PGM, or PPM format, depending on that nature of the
input image, and outputs it to Standard Output.
<P>
To determine the format of the input,
<B>anytopnm</B>
uses the
<B>file</B>
program (possibly assisted by the magic numbers file fragment included
with Netpbm).
If that fails (very few image formats have magic numbers),
<B>anytopnm</B>
looks at the filename extension.
If that fails,
<B>anytopnm</B>
punts.
<P>
The type of the output file depends on the input image.
<P>
If
<B>file</B>
indicates that the input file is compressed (either via Unix compress,
gzip, or bzip compression),
<B>anytopnm</B>
uncompresses it and proceeds as above with the uncompressed result.
<P>
If
<B>file</B>
indicates that the input file is encoded by uuencode or btoa,
<B>anytopnm</B>
decodes it and proceeds as above with the decoded result.
<P>
If
<I>file</I>
is
<B>-</B>
or not given,
<B>anytopnm</B>
takes its input from Standard Input.
<P>
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+pnmfile">pnmfile</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?5+pnm">pnm</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?1+file">file</A></B>(1)
<P>
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>
Copyright (C) 1991 by Jef Poskanzer.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="5"><A HREF="#lbAF">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:06 GMT, March 31, 2021
</BODY>
</HTML>