Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pnmindex User Manual</TITLE></HEAD>
<BODY>
<H1>pnmindex</H1>
Updated: 14 November 2015
<BR>
<A HREF="#index">Table Of Contents</A>

<H2>NAME</H2>

pnmindex - build a visual index of a bunch of PNM images

<H2 id="synopsis">SYNOPSIS</H2>

<B>pnmindex</B>

[<B>-size=</B><I>N</I>]

[<B>-across=</B><I>N</I>]

[<B>-colors=</B><I>N</I>]

[<B>-black</B>]

[<B>-title=</B><I>title</I>]

[<B>-quant</B>|<B>-noquant</B>]

<I>pnmfile</I> ...

<P>You can use the minimum unique abbreviation of the options.  You can use
two hyphens instead of one.  You can separate an option name from its value
with white space instead of an equals sign.


<H2 id="description">DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<B>pnmindex</B> creates an index image containing thumbnail (small)
versions of a bunch of PNM files you supply.  (Akin to a photographic
"contact sheet."

<P><B>pnmindex</B> labels each thumbnail and, optionally, contains a
title.

<P>If you just want to concatenate some images together in a grid, use
<b>pamundice</b> for that.

<p>If you want to take apart the image you generated with <b>pnmindex</b>,
use <b>pamdice</b> or <b>pamcut</b>.

<p>The program can generate large temporary files.  By default, these go in
directory <b>/tmp</b>, but you can usse the <b>TMPDIR</b> environment variable
to have them somewhere else.


<H2 id="options">OPTIONS</H2>

<DL COMPACT>
<DT><B>-size=</B><I>N</I>

<DD>The size of each thumbnail.  The image is scaled to fit maximally
inside a <I>N</I> x <I>N</I> pixel box without changing its aspect
ratio.  Default is 100.

<DT><B>-across=</B><I>N</I>

<DD>The number of thumbnails in each row.  Default is 6.

<DT><B>-colors=</B><I>N</I>

<DD>The maximum number of colors allowed in the overall image.  If it
would otherwise have more colors than these, <B>pnmindex</B> quantizes
the result.  The default is 256.

<P>However, this value is meaningless if you specify the
<B>-noquant</B> option.

<DT><B>-black</B>

<DD>This controls the color of the padding between the images;
normally it's white and the labels are black lettering on white
background, but the <B>-black</B> option reverses this.

<DT><B>-title=</B><I>title</I>

<DD>
Specifies a title top place at the top of the image.
Default is no title.

<DT><B>-quant</B>

<DD>Enables quantization (to the number of colors specified by
<B>-colors</B>).  Quantization is on by default but you can disable
it with <B>-noquant.</B>

<DT><B>-noquant</B>

<DD>See <B>-quant</B>.

</DL>

<H2 id="seealso">SEE ALSO</H2>

<B><A HREF="pamscale.html">pamscale</A></B>,

<B><A HREF="pnmcat.html">pnmcat</A></B>,

<B><A HREF="pbmtext.html">pbmtext</A></B>,

<B><A HREF="pnmquant.html">pnmquant</A></B>,

<B><A HREF="pamcut.html">pamcut</A></B>,

<B><A HREF="pamdice.html">pamdice</A></B>,

<B><A HREF="pamundice.html">pamundice</A></B>,

<B><A HREF="pnmtile.html">pnmtile</A></B>,

<B><A HREF="pnm.html">pnm</A></B>

<H2 id="author">AUTHOR</H2>

<p>Copyright (C) 1991 by Jef Poskanzer.

<p><B>-title</B> and <B>-noquant</B> added 2000 by John Heidemann.

<HR>
<H2 id="index">Table Of Contents</H2>
<UL>
<LI><A HREF="#synopsis">SYNOPSIS</A>
<LI><A HREF="#description">DESCRIPTION</A>
<LI><A HREF="#options">OPTIONS</A>
<LI><A HREF="#seealso">SEE ALSO</A>
<LI><A HREF="#author">AUTHOR</A>
</UL>
</BODY>
</HTML>