%!PS-Adobe-2.0 %%Version: 0.1 %%DocumentFonts: (atend) %%Pages: (atend) %%EndComments % % Version 3.3.2 prologue for troff files. % /#copies 1 store /aspectratio 1 def /formsperpage 1 def /landscape false def /linewidth .3 def /magnification 1 def /margin 0 def /orientation 0 def /resolution 720 def /rotation 1 def /xoffset 0 def /yoffset 0 def /roundpage true def /useclippath true def /pagebbox [0 0 612 792] def /R /Times-Roman def /I /Times-Italic def /B /Times-Bold def /BI /Times-BoldItalic def /H /Helvetica def /HI /Helvetica-Oblique def /HB /Helvetica-Bold def /HX /Helvetica-BoldOblique def /CW /Courier def /CO /Courier def /CI /Courier-Oblique def /CB /Courier-Bold def /CX /Courier-BoldOblique def /PA /Palatino-Roman def /PI /Palatino-Italic def /PB /Palatino-Bold def /PX /Palatino-BoldItalic def /Hr /Helvetica-Narrow def /Hi /Helvetica-Narrow-Oblique def /Hb /Helvetica-Narrow-Bold def /Hx /Helvetica-Narrow-BoldOblique def /KR /Bookman-Light def /KI /Bookman-LightItalic def /KB /Bookman-Demi def /KX /Bookman-DemiItalic def /AR /AvantGarde-Book def /AI /AvantGarde-BookOblique def /AB /AvantGarde-Demi def /AX /AvantGarde-DemiOblique def /NR /NewCenturySchlbk-Roman def /NI /NewCenturySchlbk-Italic def /NB /NewCenturySchlbk-Bold def /NX /NewCenturySchlbk-BoldItalic def /ZD /ZapfDingbats def /ZI /ZapfChancery-MediumItalic def /S /S def /S1 /S1 def /GR /Symbol def /inch {72 mul} bind def /min {2 copy gt {exch} if pop} bind def /setup { counttomark 2 idiv {def} repeat pop landscape {/orientation 90 orientation add def} if /scaling 72 resolution div def linewidth setlinewidth 1 setlinecap pagedimensions xcenter ycenter translate orientation rotation mul rotate width 2 div neg height 2 div translate xoffset inch yoffset inch neg translate margin 2 div dup neg translate magnification dup aspectratio mul scale scaling scaling scale addmetrics 0 0 moveto } def /pagedimensions { useclippath userdict /gotpagebbox known not and { /pagebbox [clippath pathbbox newpath] def roundpage currentdict /roundpagebbox known and {roundpagebbox} if } if pagebbox aload pop 4 -1 roll exch 4 1 roll 4 copy landscape {4 2 roll} if sub /width exch def sub /height exch def add 2 div /xcenter exch def add 2 div /ycenter exch def userdict /gotpagebbox true put } def /addmetrics { /Symbol /S null Sdefs cf /Times-Roman /S1 StandardEncoding dup length array copy S1defs cf } def /pagesetup { /page exch def currentdict /pagedict known currentdict page known and { page load pagedict exch get cvx exec } if } def /decodingdefs [ {counttomark 2 idiv {y moveto show} repeat} {neg /y exch def counttomark 2 idiv {y moveto show} repeat} {neg moveto {2 index stringwidth pop sub exch div 0 32 4 -1 roll widthshow} repeat} {neg moveto {spacewidth sub 0.0 32 4 -1 roll widthshow} repeat} {counttomark 2 idiv {y moveto show} repeat} {neg setfunnytext} ] def /setdecoding {/t decodingdefs 3 -1 roll get bind def} bind def /w {neg moveto show} bind def /m {neg dup /y exch def moveto} bind def /done {/lastpage where {pop lastpage} if} def /f { dup /font exch def findfont exch dup /ptsize exch def scaling div dup /size exch def scalefont setfont linewidth ptsize mul scaling 10 mul div setlinewidth /spacewidth ( ) stringwidth pop def } bind def /changefont { /fontheight exch def /fontslant exch def currentfont [ 1 0 fontheight ptsize div fontslant sin mul fontslant cos div fontheight ptsize div 0 0 ] makefont setfont } bind def /sf {f} bind def /cf { dup length 2 idiv /entries exch def /chtab exch def /newencoding exch def /newfont exch def findfont dup length 1 add dict /newdict exch def {1 index /FID ne {newdict 3 1 roll put}{pop pop} ifelse} forall newencoding type /arraytype eq {newdict /Encoding newencoding put} if newdict /Metrics entries dict put newdict /Metrics get begin chtab aload pop 1 1 entries {pop def} for newfont newdict definefont pop end } bind def % % A few arrays used to adjust reference points and character widths in some % of the printer resident fonts. If square roots are too high try changing % the lines describing /radical and /radicalex to, % % /radical [0 -75 550 0] % /radicalex [-50 -75 500 0] % % Move braceleftbt a bit - default PostScript character is off a bit. % /Sdefs [ /bracketlefttp [201 500] /bracketleftbt [201 500] /bracketrighttp [-81 380] /bracketrightbt [-83 380] /braceleftbt [203 490] /bracketrightex [220 -125 500 0] /radical [0 0 550 0] /radicalex [-50 0 500 0] /parenleftex [-20 -170 0 0] /integral [100 -50 500 0] /infinity [10 -75 730 0] ] def /S1defs [ /underscore [0 80 500 0] /endash [7 90 650 0] ] def % % Tries to round clipping path dimensions, as stored in array pagebbox, so they % match one of the known sizes in the papersizes array. Lower left coordinates % are always set to 0. % /roundpagebbox { 7 dict begin /papersizes [8.5 inch 11 inch 14 inch 17 inch] def /mappapersize { /val exch def /slop .5 inch def /diff slop def /j 0 def 0 1 papersizes length 1 sub { /i exch def papersizes i get val sub abs dup diff le {/diff exch def /j i def} {pop} ifelse } for diff slop lt {papersizes j get} {val} ifelse } def pagebbox 0 0 put pagebbox 1 0 put pagebbox dup 2 get mappapersize 2 exch put pagebbox dup 3 get mappapersize 3 exch put end } bind def %%EndProlog %%BeginSetup mark % % Encoding vector and redefinition of findfont for the ISO Latin1 standard. % The 18 characters missing from ROM based fonts on older printers are noted % below. % /ISOLatin1Encoding [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /minus /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o /p /q /r /s /t /u /v /w /x /y /z /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /dotlessi /grave /acute /circumflex /tilde /macron /breve /dotaccent /dieresis /.notdef /ring /cedilla /.notdef /hungarumlaut /ogonek /caron /space /exclamdown /cent /sterling /currency /yen /brokenbar % missing /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree % missing /plusminus % missing /twosuperior % missing /threesuperior % missing /acute /mu % missing /paragraph /periodcentered /cedilla /onesuperior % missing /ordmasculine /guillemotright /onequarter % missing /onehalf % missing /threequarters % missing /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth % missing /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply % missing /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute % missing /Thorn % missing /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth % missing /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide % missing /oslash /ugrave /uacute /ucircumflex /udieresis /yacute % missing /thorn % missing /ydieresis ] def /NewFontDirectory FontDirectory maxlength dict def % % Apparently no guarantee findfont is defined in systemdict so the obvious % % systemdict /findfont get exec % % can generate an error. So far the only exception is a VT600 (version 48.0). % userdict /@RealFindfont known not { userdict begin /@RealFindfont systemdict begin /findfont load end def end } if /findfont { dup NewFontDirectory exch known not { dup %dup systemdict /findfont get exec % not always in systemdict dup userdict /@RealFindfont get exec dup /Encoding get StandardEncoding eq { dup length dict begin {1 index /FID ne {def}{pop pop} ifelse} forall /Encoding ISOLatin1Encoding def currentdict end /DummyFontName exch definefont } if NewFontDirectory 3 1 roll put } if NewFontDirectory exch get } bind def setup %%EndSetup %%Page: 1 1 /saveobj save def mark 1 pagesetup 12 /Times-Bold f (Ppmntsc) 2306 1230 w (User) 2783 1230 w (Manual) 3052 1230 w 10 /Times-Bold f (ppmntsc) 720 1920 w 10 /Times-Roman f (Updated: April 19, 2000) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (ppmntsc \255 Make RGB colors legal for NTSC or PAL color systems.) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (ppmntsc) 720 2988 w 10 /Times-Roman f ([) 1112 2988 w 10 /Times-Bold f (\255\255pal) 1145 2988 w 10 /Times-Roman f (] [) 1345 2988 w 10 /Times-Bold f (\255\255legalonly) 1436 2988 w 10 /Times-Roman f (] [) 1886 2988 w 10 /Times-Bold f (\255\255illegalonly) 1977 2988 w 10 /Times-Roman f (] [) 2483 2988 w 10 /Times-Bold f (\255\255correctedonly) 2574 2988 w 10 /Times-Roman f (] [) 3227 2988 w 10 /Times-Bold f (\255\255verbose) 3318 2988 w 10 /Times-Roman f (] [) 3711 2988 w 10 /Times-Bold f (\255\255debug) 3802 2988 w 10 /Times-Roman f (] [) 4130 2988 w 10 /Times-Italic f (infile) 4221 2988 w 10 /Times-Roman f (]) 4427 2988 w (Minimum unique abbreviations of options are acceptable.) 720 3144 w 10 /Times-Bold f (DESCRIPTION) 720 3384 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3576 w (This) 720 3732 w (program) 935 3732 w (makes) 1310 3732 w (colors) 1602 3732 w (legal) 1883 3732 w (in) 2114 3732 w (the) 2229 3732 w (NTSC) 2388 3732 w (\(or) 2682 3732 w (PAL\)) 2836 3732 w (color) 3096 3732 w (systems.) 3339 3732 w (Often,) 3744 3732 w (images) 4034 3732 w (generated) 4355 3732 w (on) 4780 3732 w (the) 4918 3732 w (computer) 720 3852 w (are) 1125 3852 w (made) 1274 3852 w (for) 1518 3852 w (use) 1662 3852 w (in) 1823 3852 w (movies) 1929 3852 w (which) 2246 3852 w (ultimately) 2518 3852 w (end) 2952 3852 w (up) 3124 3852 w (on) 3252 3852 w (video) 3380 3852 w (tape.) 3629 3852 w (However,) 3872 3852 w (the) 4289 3852 w (range) 4438 3852 w (of) 4686 3852 w (colors) 4796 3852 w (\(as specified by their RGB values\) on a computer does not match the range of) 720 3972 w (colors) 3851 3972 w (that) 4121 3972 w (can) 4297 3972 w (be) 4461 3972 w (represented) 4581 3972 w (using) 720 4092 w (the) 967 4092 w (NTSC) 1119 4092 w (\(or) 1405 4092 w (PAL\)) 1551 4092 w (systems.) 1803 4092 w (If) 2200 4092 w (an) 2296 4092 w (image) 2420 4092 w (with) 2694 4092 w ("illegal") 2902 4092 w (colors) 3264 4092 w (is) 3538 4092 w (sent) 3634 4092 w (directly) 3824 4092 w (to) 4158 4092 w (an) 4265 4092 w (NTSC) 4388 4092 w (\(or) 4673 4092 w (PAL\)) 4818 4092 w (video) 720 4212 w (system) 972 4212 w (for) 1281 4212 w (recording,) 1428 4212 w (the) 1866 4212 w ("illegal") 2019 4212 w (colors) 2382 4212 w (will) 2657 4212 w (be) 2844 4212 w (clipped.) 2969 4212 w (This) 3344 4212 w (may) 3553 4212 w (result) 3756 4212 w (in) 4009 4212 w (an) 4118 4212 w (undesirable) 4243 4212 w (looking) 4734 4212 w (picture.) 720 4332 w (This) 720 4488 w (utility) 930 4488 w (tests) 1202 4488 w (each) 1412 4488 w (pixel) 1626 4488 w (in) 1858 4488 w (an) 1968 4488 w (image) 2095 4488 w (to) 2372 4488 w (see) 2483 4488 w (if) 2643 4488 w (it) 2737 4488 w (falls) 2826 4488 w (within) 3031 4488 w (the) 3320 4488 w (legal) 3475 4488 w (NTSC) 3702 4488 w (\(or) 3991 4488 w (PAL\)) 4140 4488 w (range.) 4395 4488 w (If) 4699 4488 w (not,) 4798 4488 w (it) 4984 4488 w (raises) 720 4608 w (or) 981 4608 w (lowers) 1098 4608 w (the) 1398 4608 w (pixel's) 1554 4608 w (saturation) 1860 4608 w (in) 2288 4608 w (the) 2400 4608 w (output) 2556 4608 w (so) 2846 4608 w (that) 2969 4608 w (it) 3153 4608 w (does) 3243 4608 w (fall) 3460 4608 w (within) 3627 4608 w (legal) 3917 4608 w (limits.) 4145 4608 w (Pixels) 4458 4608 w (that) 4736 4608 w (are) 4919 4608 w (already OK just go unmodified into the output.) 720 4728 w (Input) 720 4884 w (is) 963 4884 w (from) 1062 4884 w (the) 1288 4884 w (file) 1442 4884 w (named) 1607 4884 w 10 /Times-Italic f (input) 1905 4884 w 10 /Times-Roman f (.) 2111 4884 w (If) 2193 4884 w 10 /Times-Italic f (input) 2291 4884 w 10 /Times-Roman f (is) 2529 4884 w 10 /Times-Bold f (\255) 2628 4884 w 10 /Times-Roman f (,) 2661 4884 w (input) 2718 4884 w (is) 2956 4884 w (from) 3055 4884 w (Standard) 3281 4884 w (Input.) 3668 4884 w (If) 3962 4884 w (you) 4061 4884 w (don't) 4244 4884 w (specify) 4488 4884 w 10 /Times-Italic f (input) 4809 4884 w 10 /Times-Roman f (,) 5015 4884 w (input is from Standard Input.) 720 5004 w (Output is always to Standard Output.) 720 5160 w (This program handles multi\255image PPM input, producing multi\255image PPM output.) 720 5316 w 10 /Times-Bold f (OPTIONS) 720 5556 w (\255\255pal) 970 5748 w 10 /Times-Roman f (Use the PAL transform instead of the default NTSC.) 1220 5748 w 10 /Times-Bold f (\255\255verbose) 970 5904 w 10 /Times-Roman f (Print a grand total of the number of illegal pixels.) 1363 5904 w 10 /Times-Bold f (\255\255debug) 970 6060 w 10 /Times-Roman f (Produce) 1298 6060 w (a) 1667 6060 w (humongous) 1754 6060 w (listing) 2264 6060 w (of) 2558 6060 w (illegal) 2684 6060 w (colors) 2977 6060 w (and) 3264 6060 w (their) 3451 6060 w (legal) 3677 6060 w (counterparts.) 3914 6060 w (NOTE:) 4500 6060 w (This) 4862 6060 w (option may produce a great deal of output.) 1220 6180 w 10 /Times-Bold f (\255\255legalonly) 970 6336 w 10 /Times-Roman f (Output only pixels that are already legal.) 1420 6336 w (Output black in place of pixels that are not.) 3098 6336 w 10 /Times-Bold f (\255\255illegalonly) 970 6492 w 10 /Times-Roman f (Output) 1476 6492 w (only) 1783 6492 w (pixels) 1990 6492 w (that) 2258 6492 w (are) 2437 6492 w (illegal) 2587 6492 w (\(and) 2866 6492 w (output) 3072 6492 w (them) 3357 6492 w (uncorrected\).) 3586 6492 w (Output) 4168 6492 w (black) 4476 6492 w (in) 4722 6492 w (place) 4830 6492 w (of pixels that are already legal.) 1220 6612 w 10 /Times-Bold f (\255\255correctedonly) 970 6768 w 10 /Times-Roman f (Output) 1623 6768 w (only) 1927 6768 w (pixels) 2131 6768 w (that) 2396 6768 w (are) 2572 6768 w (corrected) 2719 6768 w (versions) 3115 6768 w (of) 3474 6768 w (illegal) 3584 6768 w (pixels.) 3861 6768 w (Output) 4177 6768 w (black) 4482 6768 w (in) 4725 6768 w (place) 4830 6768 w (of pixels that are already legal.) 1220 6888 w cleartomark showpage saveobj restore %%EndPage: 1 1 %%Page: 2 2 /saveobj save def mark 2 pagesetup 10 /Times-Roman f (\255 2 \255) 2797 480 w 10 /Times-Bold f (SEE ALSO) 720 840 w (pamdepth) 720 996 w 10 /Times-Roman f (,) 1154 996 w 10 /Times-Bold f (ppmdim) 1204 996 w 10 /Times-Roman f (,) 1566 996 w 10 /Times-Bold f (ppmbrighten) 1616 996 w 10 /Times-Roman f (,) 2178 996 w 10 /Times-Bold f (ppm) 2228 996 w (AUTHOR) 720 1236 w 10 /Times-Roman f (Wes Barris, Minnesota Supercomputer Center, Inc., Bryan Henderson) 720 1392 w 10 /S1 f (________________________________________________________________________) 720 1512 w 10 /Times-Bold f (Table Of Contents) 720 1752 w 10 /LucidaSansUnicode22 f (\031) 720 1944 w 10 /Times-Roman f (NAME) 970 1944 w 10 /LucidaSansUnicode22 f (\031) 720 2100 w 10 /Times-Roman f (SYNOPSIS) 970 2100 w 10 /LucidaSansUnicode22 f (\031) 720 2256 w 10 /Times-Roman f (DESCRIPTION) 970 2256 w 10 /LucidaSansUnicode22 f (\031) 720 2412 w 10 /Times-Roman f (OPTIONS) 970 2412 w 10 /LucidaSansUnicode22 f (\031) 720 2568 w 10 /Times-Roman f (SEE ALSO) 970 2568 w 10 /LucidaSansUnicode22 f (\031) 720 2724 w 10 /Times-Roman f (AUTHOR) 970 2724 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold S1 %%Pages: 2