Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pnmindex(1) [linux man page]

pnmindex(1)						      General Commands Manual						       pnmindex(1)

NAME
pnmindex - build a visual index of a bunch of anymaps SYNOPSIS
pnmindex [-size N] [-across N] [-colors N] [-black] [-title T] [-quant|-noquant] pnmfile ... DESCRIPTION
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. OPTIONS
-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. -black This controls the color of the padding between the images; normally it's white and the labels are black lettering on white back- ground, but the -black flag reverses this. -title title Specifies a title top place at the top of the image. Default is no title. -quant Enables quanization (to the number of colors specified by -colors ). Quantization is on by default but you can disable it with -noquant. -noquant See -quant. SEE ALSO
pnmscale(1), pnmcat(1), pbmtext(1), ppmquant(1), pnm(5) AUTHOR
Copyright (C) 1991 by Jef Poskanzer. -title and -noquant added 2000 by John Heidemann. 9 January 1991 pnmindex(1)

Check Out this Related Man Page

pnmindex(1)						      General Commands Manual						       pnmindex(1)

NAME
pnmindex - build a visual index of a bunch of anymaps SYNOPSIS
pnmindex [-size N] [-across N] [-colors N] [-black] [-title T] [-quant|-noquant] pnmfile ... DESCRIPTION
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. OPTIONS
-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. -black This controls the color of the padding between the images; normally it's white and the labels are black lettering on white back- ground, but the -black flag reverses this. -title title Specifies a title top place at the top of the image. Default is no title. -quant Enables quanization (to the number of colors specified by -colors ). Quantization is on by default but you can disable it with -noquant. -noquant See -quant. SEE ALSO
pnmscale(1), pnmcat(1), pbmtext(1), ppmquant(1), pnm(5) AUTHOR
Copyright (C) 1991 by Jef Poskanzer. -title and -noquant added 2000 by John Heidemann. 9 January 1991 pnmindex(1)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to use GREP comaand to search strings in This OR That scenrio

Hi , Can anyone suggest how to use the Grep command to find multiple strings like kind of situation find 'black' or 'white' in file colors.txt I tried : $ grep "black\|white" colors.txt but no results. thanks, VJ (4 Replies)
Discussion started by: vj_76
4 Replies

2. Shell Programming and Scripting

CamelCasify file names (sed?)

Dear forum, I need to rename a bunch of files according to their first line, in CamelCase. I am having problems with the conversion from "normal string title" or "NST syndrome" to, respectively, "NormalString" or "NSTSyndrome". First character of a word to uppercase and drop spaces. I was... (1 Reply)
Discussion started by: vlf
1 Replies

3. Shell Programming and Scripting

Format each line of the file

I have a file -> testfile title title title title ---- ---- ---- ---- vimal thoma 100 approved vimal yes 2 allowed I want to change this file as title ,title ,title ,title ---- ... (7 Replies)
Discussion started by: vj8436
7 Replies

4. Programming

UNIX signal problem

Hi all, Sorry about the title,at first i decided to ask a problem about the signal mechanism,however,i'm now figured it out.Sorry to forget modify the title:wall:.I had a small problem that if i use the code which is commented,the code would get a segment fault,while the above code NOT.what's... (4 Replies)
Discussion started by: homeboy
4 Replies

5. UNIX for Dummies Questions & Answers

How to deal with incomplete image files

Sorry for the odd title, but I couldn't think of an easy way to describe my issue. Background I have a home security system that continually sends (via FTP) 4 different still images to a directory on my personal website - cam0.jpg, cam1.jpg, etc. I've written an extremely basic html script to... (4 Replies)
Discussion started by: CinciJeff
4 Replies

6. Shell Programming and Scripting

Remove keyword found in title

Hello All, I have a bunch of files that have the following format, where the title is INPUT.txt and contains the following text: INPUT-FILLER1 204 INPUT-FILLER2 FILLER6-INPUT 5 FILLER-INPUT I want to go through the directory and remove the keyword INPUT. For example, my output would be... (5 Replies)
Discussion started by: jl487
5 Replies

7. UNIX Desktop Questions & Answers

gdialog box question

Dear all, I have this input msgbox and I want to save the result in variable gdialog --title "myTitle" --inputbox " the msg " 100 100 I tried to write x=`gdialog --title "myTitle" --inputbox " the msg " 100 100` but its not working !! any idea ?? (0 Replies)
Discussion started by: khaled-hayek
0 Replies

8. Shell Programming and Scripting

help with reading command line into array

set -A title set -A author count=1 index=0 while do read -A ${title}?"Booktitle: " read -A ${author}?"Author(s): " (( count = count + 1 )) (( index = index + 1 )) done Hi... (1 Reply)
Discussion started by: bjhum33
1 Replies