Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pnmdepth(1) [ultrix man page]

pnmdepth(1)                                                   General Commands Manual                                                  pnmdepth(1)

NAME
pnmdepth - change the maxval in a portable anymap SYNOPSIS
pnmdepth newmaxval [pnmfile] DESCRIPTION
Reads a portable anymap as input. Scales all the pixel values, and writes out the image with the new maxval. Scaling the colors down to a smaller maxval will result in some loss of information. Be careful of off-by-one errors when choosing the new maxval. For instance, if you want the color values to be five bits wide, use a max- val of 31, not 32. One important use of pnmdepth is to convert a new format 2-byte-per-sample PNM file to the older 1-byte-per-sample format. Before April 2000, essentially all raw (binary) format PNM files had a maxval less than 256 and one byte per sample, and many programs may rely on that. If you specify a newmaxval less than 256, the resulting file should be readable by any program that worked with PNM files before April 2000. SEE ALSO
pnm(5), ppmquant(1), ppmdither(1) AUTHOR
Copyright (C) 1989, 1991 by Jef Poskanzer. 08 April 2000 pnmdepth(1)

Check Out this Related Man Page

pgmedge(1)                                                    General Commands Manual                                                   pgmedge(1)

NAME
pgmedge - edge-detect a portable graymap SYNOPSIS
pgmedge [pgmfile] DESCRIPTION
Reads a portable graymap as input. Outlines the edges, and writes a portable graymap as output. Piping the result through pgmtopbm -threshold and playing with the threshold value will give a bitmap of the edges. The edge detection technique used is to take the Pythagorean sum of two Sobel gradient operators at 90 degrees to each other. For more details see "Digital Image Processing" by Gonzalez and Wintz, chapter 7. The maxval of the output is the same as the maxval of the input The effect is better with larger maxvals, so you may want to increase the maxval of the input by running it through pnmdepth first. SEE ALSO
pgmenhance(1), pgmtopbm(1), pnmdepth(1), pgm(5), pbm(5) AUTHOR
Copyright (C) 1991 by Jef Poskanzer. 04 February 1990 pgmedge(1)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sed help

Dear All My INPUT text is as follows 200706,82222219!,0,1,,,"2000-05-24" 200706,82222218!,0,1,,,"2000-06-24" 200706,82222218,0,1,,,"2000-06-24" 200706,82222200!,0,1,,,"2000-06-24" I Want to remove all the lines or that line that contains ! (Exclamation) in the second column.how to do... (11 Replies)
Discussion started by: tkbharani
11 Replies

2. Shell Programming and Scripting

"Urgent!!"

i need to convert ISO file to readable txt format sample as follows 2043010101167157001190002010011120000000002144300000000000000000000 01022_ - %rE@ U...ug  47 56   d %rE@ 01022_ - $5 fy  1%14 6 % $5 01022_ - %g- jv  5&5. 6... (1 Reply)
Discussion started by: nalakaatslt
1 Replies

3. Shell Programming and Scripting

convert file to ascii

I have a file in below format(ISO ) and to be convert to readable (.txt/Ascii) format .send me the commands/code please sample as follows 2043010101167157001190002010011120000000002144300000000000000000000 01022_ - %rE@ U...ug  47 56   d %rE@ 01022_ - $5 fy ... (1 Reply)
Discussion started by: nalakaatslt
1 Replies

4. Shell Programming and Scripting

Grep manipulation

Hallo Team, my little grep script captures patterns for the whole of April (extasc_cdr_201304*.bz2) but now i would like to capture my patterns per day from 1st April till 30th April (extasc_cdr_20130401*.bz2 till extasc_cdr_20130430*.bz2) Here is my script below: bzgrep... (1 Reply)
Discussion started by: kekanap
1 Replies