1Ppmntsc User Manual(0) Ppmntsc User Manual(0)
2
3
4
6 ppmntsc - Make RGB colors legal for NTSC or PAL color systems.
7
8
10 ppmntsc
11
12 [--pal] [--legalonly] [--illegalonly] [--correctedonly] [--verbose]
13 [--debug] [infile]
14
15
17 This program is part of Netpbm(1).
18
19 This program makes colors legal in the NTSC (or PAL) color systems.
20 Often, images generated on the computer are made for use in movies
21 which ultimately end up on a television screen. However, the range of
22 colors (as specified by their RGB values) on a computer does not match
23 the range of colors that can be represented using the NTSC (or PAL)
24 systems. If an image with 'illegal' colors is sent directly to an NTSC
25 (or PAL) video system for recording, the 'illegal' colors will be
26 clipped. This may result in an undesirable looking picture.
27
28 This utility tests each pixel in an image to see if it falls within the
29 legal NTSC (or PAL) range. If not, it raises or lowers the pixel's
30 saturation in the output so that it does fall within legal limits.
31 Pixels that are already OK just go unmodified into the output.
32
33 Input is from the file named input. If input is -, input is from Stan‐
34 dard Input. If you don't specify input, input is from Standard Input.
35
36 Output is always to Standard Output.
37
38 This program handles multi-image PPM input, producing multi-image PPM
39 output.
40
41
43 Minimum unique abbreviations of options are acceptable.
44
45
46
47
48 --pal Use the PAL transform instead of the default NTSC.
49
50
51 --verbose
52 Print a grand total of the number of illegal pixels.
53
54
55 --debug
56 Produce a humongous listing of illegal colors and their legal
57 counterparts. NOTE: This option may produce a great deal of
58 output.
59
60
61 --legalonly
62 Output only pixels that are already legal. Output black in
63 place of pixels that are not.
64
65
66 --illegalonly
67 Output only pixels that are illegal (and output them uncor‐
68 rected). Output black in place of pixels that are already
69 legal.
70
71
72 --correctedonly
73 Output only pixels that are corrected versions of illegal pix‐
74 els. Output black in place of pixels that are already legal.
75
76
77
78
80 pamdepth(1), ppmdim(1), ppmbrighten(1), ppm(1)
81
82
84 Wes Barris, Minnesota Supercomputer Center, Inc., Bryan Henderson
85
86
87
88netpbm documentation April 19, 2000 Ppmntsc User Manual(0)