home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
NETWORK
/
netpbm_docs.lzh
/
NETPBM
/
DOCS
/
pnmdepth.1
< prev
next >
Wrap
Text File
|
1996-11-18
|
1KB
|
28 lines
.TH pnmdepth 1 "12 January 1991"
.IX pnmdepth
.SH NAME
pnmdepth - change the maxval in a portable anymap
.SH SYNOPSIS
.B pnmdepth
.I newmaxval
.RI [ pnmfile ]
.SH 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.
.PP
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 maxval of 31, not 32.
.SH "SEE ALSO"
pnm(5), ppmquant(1), ppmdither(1)
.SH AUTHOR
Copyright (C) 1989, 1991 by Jef Poskanzer.
.\" Permission to use, copy, modify, and distribute this software and its
.\" documentation for any purpose and without fee is hereby granted, provided
.\" that the above copyright notice appear in all copies and that both that
.\" copyright notice and this permission notice appear in supporting
.\" documentation. This software is provided "as is" without express or
.\" implied warranty.