Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/ppmntsc.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Ppmntsc User Manual
.SH 1
ppmntsc
.LP
Updated: April 19, 2000
.br
Table Of Contents
.SH 2
NAME
.LP
ppmntsc - Make RGB colors legal for NTSC or PAL color systems.
.SH 2
SYNOPSIS
.LP
\fBppmntsc\fR
[\fB--pal\fR]
[\fB--legalonly\fR]
[\fB--illegalonly\fR]
[\fB--correctedonly\fR]
[\fB--verbose\fR]
[\fB--debug\fR]
[\fIinfile\fR]
.LP
Minimum unique abbreviations of options are acceptable.
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
This program makes colors legal in the NTSC (or PAL) color systems.
Often, images generated on the computer are made for use in movies
which ultimately end up on video tape.  However, the range of colors
(as specified by their RGB values) on a computer does not match the
range of colors that can be represented using the NTSC (or PAL)
systems.  If an image with "illegal" colors is sent directly
to an NTSC (or PAL) video system for recording, the
"illegal" colors will be clipped.  This may result in an
undesirable looking picture.
.LP
This utility tests each pixel in an image to see if it falls
within the legal NTSC (or PAL) range.  If not, it raises or lowers the
pixel's saturation in the output so that it does fall within legal
limits.  Pixels that are already OK just go unmodified into the
output.
.LP
Input is from the file named \fIinput\fR.  If \fIinput\fR is
\fB-\fR, input is from Standard Input.  If you don't specify
\fIinput\fR, input is from Standard Input.
.LP
Output is always to Standard Output.
.LP
This program handles multi-image PPM input, producing multi-image
PPM output.
.SH 2
OPTIONS
.LP
.RS
.IP "\fB--pal\fR"
Use the PAL transform instead of the default NTSC.
.IP "\fB--verbose\fR"
Print a grand total of the number of illegal pixels.
.IP "\fB--debug\fR"
Produce a humongous listing of illegal colors and their legal counterparts.
NOTE:  This option may produce a great deal of output.
.IP "\fB--legalonly\fR"
Output only pixels that are already legal.  Output black in place of pixels
that are not.
.IP "\fB--illegalonly\fR"
Output only pixels that are illegal (and output them uncorrected).
Output black in place of pixels that are already legal.
.IP "\fB--correctedonly\fR"
Output only pixels that are corrected versions of illegal pixels.  Output
black in place of pixels that are already legal.
.RE
.SH 2
SEE ALSO
.LP
\fBpamdepth\fR,
\fBppmdim\fR,
\fBppmbrighten\fR,
\fBppm\fR
.SH 2
AUTHOR
.LP
Wes Barris, Minnesota Supercomputer Center, Inc., Bryan Henderson
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
OPTIONS
.IP \(bu
SEE ALSO
.IP \(bu
AUTHOR
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.