pamdepth man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]


				   pamdepth

   Updated: 08 April 2000
   Table Of Contents

NAME

   pamdepth ‐ change the maxval in a Netpbm image

SYNOPSIS

   pamdepth newmaxval [netpbmfile]

DESCRIPTION

   This program is part of Netpbm.

   pamdepth  reads  a Netpbm image 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.

   This program works on multi‐image streams.

   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  pamdepth  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 read‐
able by any
   program that worked with PNM files before April 2000.

SEE ALSO

   pnm, pam, pnmquant, ppmdither ppmbrighten pamfunc

HISTORY

   pamdepth was new in Netpbm 10.32 (February 2006). It	 replaced
pnmdepth, by
   Jef	Poskanzer.  pamdepth is backward compatible with pamdepth
and adds the
   ability  to	process	 arbitrary  PAM images and the ability to
process
   multi‐image	input  streams.	 pnmdepth handled only PNM images
and ignored all
   but the the first in any stream.
     _________________________________________________________________

Table Of Contents

     * SYNOPSIS
     * DESCRIPTION
     * SEE ALSO
     * HISTORY

[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net