1. Tech

Your suggestion is on its way!

An email with a link to:


was emailed to:

Thanks for sharing About.com with others!

Linux / Unix Command: pnmindex
Command Library


pnmindex - build a visual index of a bunch of anymaps  


pnmindex [-size N] [-across N] [-colors N] [-black] [-title T] [-quant|-noquant] pnmfile ...



pnmindex creates an index image containing thumbnail (small) versions of a bunch of PNM files you supply.

pnmindex labels each thumbnail and, optionally, contains a title.



-size N
The size of each thumbnail. The image is scaled to fit maximally inside a N x N pixel box without changing its aspect ratio. Default is 100.
-across N
The number of thumbnails in each row. Default is 6.
-colors N
The maximum number of colors allowed in the overall image. If it would otherwise have more colors than these, pnmindex quantizes the result. The default is 256.

However, this value is meaningless if you specify the -noquant option.

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 -black flag reverses this.
-title title
Specifies a title top place at the top of the image. Default is no title.
Enables quanization (to the number of colors specified by -colors ). Quantization is on by default but you can disable it with -noquant.
See -quant.



pnmscale(1), pnmcat(1), pbmtext(1), ppmquant(1), pnm(5)


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux
By Category
    linuxLinuxcomputeTechb0502bb1540001006c84963cb0502bb1540002006c818e0ahttp://linux.about.comod526F6F74132058liveGary Newelllinuxguide3TO004KpzNIP11970-01-0110/od/index.htm0526F6F741approved/od
  1. About.com
  2. Tech
  3. Linux

©2016 About.com. All rights reserved.