%!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 (Pnmquant) 2259 1230 w (User) 2830 1230 w (Manual) 3099 1230 w 10 /Times-Bold f (pnmquant) 720 1920 w 10 /Times-Roman f (Updated: 22 October 2003) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (pnmquant \255 quantize the colors in a Netpbm image to a smaller set) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (pnmquant) 720 2988 w 10 /Times-Roman f ([) 1272 2988 w 10 /Times-Bold f (\255center) 1305 2988 w 10 /S f (\357) 1603 2988 w 10 /Times-Bold f (\255meancolor) 1652 2988 w 10 /S f (\357) 2134 2988 w 10 /Times-Bold f (\255meanpixel) 2183 2988 w 10 /Times-Roman f (]) 2655 2988 w ([) 2794 2988 w 10 /Times-Bold f (\255floyd) 2827 2988 w 10 /S f (\357) 3077 2988 w 10 /Times-Bold f (\255fs) 3126 2988 w 10 /Times-Roman f (]) 3231 2988 w ([) 3370 2988 w 10 /Times-Bold f (\255nofloyd) 3403 2988 w 10 /S f (\357) 3759 2988 w 10 /Times-Bold f (\255nofs) 3808 2988 w 10 /Times-Roman f (]) 4019 2988 w ([) 4158 2988 w 10 /Times-Bold f (\255spreadbrightness) 4191 2988 w 10 /S f (\357) 4958 2988 w 10 /Times-Bold f (\255) 5007 2988 w (spreadluminosity) 720 3108 w 10 /Times-Roman f (]) 1460 3108 w 10 /Times-Italic f (ncolors) 1518 3108 w 10 /Times-Roman f ([) 1843 3108 w 10 /Times-Italic f (pnmfile) 1876 3108 w 10 /Times-Roman f (]) 2176 3108 w (All) 720 3264 w (options) 876 3264 w (can) 1199 3264 w (be) 1366 3264 w (abbreviated) 1489 3264 w (to) 1983 3264 w (their) 2090 3264 w (shortest) 2302 3264 w (unique) 2642 3264 w (prefix.) 2943 3264 w (You) 3260 3264 w (may) 3461 3264 w (use) 3662 3264 w (two) 3824 3264 w (hyphens) 4003 3264 w (instead) 4365 3264 w (of) 4677 3264 w (one) 4789 3264 w (to) 4962 3264 w (designate an option.) 720 3384 w (You may use either white space or equals signs between an option name and its value.) 1572 3384 w 10 /Times-Bold f (DESCRIPTION) 720 3624 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3816 w 10 /Times-Bold f (pnmquant) 720 3972 w 10 /Times-Roman f (reads) 1199 3972 w (a) 1442 3972 w (PNM) 1519 3972 w (image) 1769 3972 w (as) 2046 3972 w (input.) 2162 3972 w (It) 2451 3972 w (chooses) 2546 3972 w 10 /Times-Italic f (ncolors) 2896 3972 w 10 /Times-Roman f (colors) 3230 3972 w (to) 3508 3972 w (best) 3620 3972 w (represent) 3815 3972 w (the) 4214 3972 w (image,) 4370 3972 w (maps) 4673 3972 w (the) 4918 3972 w (existing colors to the new ones, and writes a PNM image as output.) 720 4092 w (This) 720 4248 w (program) 926 4248 w (is) 1292 4248 w (simply) 1387 4248 w (a) 1688 4248 w (combination) 1760 4248 w (of) 2288 4248 w 10 /Times-Bold f (pnmcolormap) 2399 4248 w 10 /Times-Roman f (and) 3027 4248 w 10 /Times-Bold f (pnmremap) 3199 4248 w 10 /Times-Roman f (,) 3671 4248 w (where) 3725 4248 w (the) 3997 4248 w (colors) 4148 4248 w (of) 4421 4248 w (the) 4533 4248 w (input) 4684 4248 w (are) 4919 4248 w (remapped) 720 4368 w (using) 1146 4368 w (a) 1396 4368 w (color) 1473 4368 w (map) 1711 4368 w (which) 1916 4368 w (is) 2193 4368 w (generated) 2292 4368 w (from) 2711 4368 w (the) 2937 4368 w (colors) 3091 4368 w (in) 3367 4368 w (that) 3477 4368 w (same) 3659 4368 w (input.) 3896 4368 w (The) 4184 4368 w (options) 4371 4368 w (have) 4698 4368 w (the) 4918 4368 w (same meaning as in those programs.) 720 4488 w (See their documentation to understand) 2218 4488 w 10 /Times-Bold f (pnmquant) 3780 4488 w 10 /Times-Roman f (.) 4226 4488 w (It) 720 4644 w (is) 807 4644 w (much) 900 4644 w (faster) 1148 4644 w (to) 1395 4644 w (call) 1499 4644 w 10 /Times-Bold f (pnmcolormap) 1669 4644 w 10 /Times-Roman f (and) 2295 4644 w 10 /Times-Bold f (pnmremap) 2465 4644 w 10 /Times-Roman f (directly) 2963 4644 w (than) 3294 4644 w (to) 3492 4644 w (run) 3596 4644 w 10 /Times-Bold f (pnmquant) 3755 4644 w 10 /Times-Roman f (.) 4201 4644 w (You) 4278 4644 w (save) 4477 4644 w (the) 4681 4644 w (over\255) 4830 4644 w (head of the Perl interpreter and creating two extra processes.) 720 4764 w 10 /Times-Bold f (pnmquant) 3185 4764 w 10 /Times-Roman f (is just a convenience.) 3656 4764 w 10 /Times-Bold f (pnmquant) 720 4920 w 10 /Times-Roman f (did) 1197 4920 w (not) 1356 4920 w (exist) 1515 4920 w (before) 1735 4920 w (Netpbm) 2020 4920 w (9.21) 2373 4920 w (\(January) 2580 4920 w (2001\).) 2955 4920 w (Before) 3270 4920 w (that,) 3573 4920 w 10 /Times-Bold f (ppmquant) 3780 4920 w 10 /Times-Roman f (did) 4258 4920 w (the) 4418 4920 w (same) 4572 4920 w (thing,) 4809 4920 w (but) 720 5040 w (only) 876 5040 w (on) 1082 5040 w (PPM) 1210 5040 w (images.) 1439 5040 w 10 /Times-Bold f (ppmquant) 1800 5040 w 10 /Times-Roman f (continues) 2274 5040 w (to) 2685 5040 w (exist,) 2791 5040 w (but) 3032 5040 w (is) 3187 5040 w (only) 3281 5040 w (a) 3486 5040 w (front) 3557 5040 w (end) 3778 5040 w (\(for) 3949 5040 w (name) 4125 5040 w (compatibility\)) 4368 5040 w (to) 4962 5040 w 10 /Times-Bold f (pnmquant) 720 5160 w 10 /Times-Roman f (.) 1166 5160 w 10 /Times-Bold f (SEE ALSO) 720 5400 w (pnmcolormap) 720 5556 w 10 /Times-Roman f (,) 1320 5556 w 10 /Times-Bold f (pnmremap) 1370 5556 w 10 /Times-Roman f (,) 1842 5556 w 10 /Times-Bold f (ppmquantall) 1892 5556 w 10 /Times-Roman f (,) 2444 5556 w 10 /Times-Bold f (pamdepth) 2494 5556 w 10 /Times-Roman f (,) 2928 5556 w 10 /Times-Bold f (ppmdither) 2978 5556 w 10 /Times-Roman f (,) 3434 5556 w 10 /Times-Bold f (ppmquant) 3484 5556 w 10 /Times-Roman f (,) 3930 5556 w 10 /Times-Bold f (pnm) 3980 5556 w 10 /S1 f (________________________________________________________________________) 720 5676 w 10 /Times-Bold f (Table Of Contents) 720 5916 w 10 /LucidaSansUnicode22 f (\031) 720 6108 w 10 /Times-Roman f (NAME) 970 6108 w 10 /LucidaSansUnicode22 f (\031) 720 6264 w 10 /Times-Roman f (SYNOPSIS) 970 6264 w 10 /LucidaSansUnicode22 f (\031) 720 6420 w 10 /Times-Roman f (DESCRIPTION) 970 6420 w 10 /LucidaSansUnicode22 f (\031) 720 6576 w 10 /Times-Roman f (SEE ALSO) 970 6576 w cleartomark showpage saveobj restore %%EndPage: 1 1 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold S1 S %%Pages: 1