%!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 (PPM) 2196 1230 w (Format) 2485 1230 w (Specification) 2901 1230 w 10 /Times-Bold f (ppm) 720 1920 w 10 /Times-Roman f (Updated: 03 October 2003) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (PPM \255 Netpbm color image format) 720 2592 w 10 /Times-Bold f (DESCRIPTION) 720 2832 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3024 w (The PPM format is a lowest common denominator color image file format.) 720 3180 w (It) 720 3336 w (should) 811 3336 w (be) 1108 3336 w (noted) 1232 3336 w (that) 1484 3336 w (this) 1664 3336 w (format) 1839 3336 w (is) 2135 3336 w (egregiously) 2233 3336 w (inefficient.) 2730 3336 w (It) 3221 3336 w (is) 3313 3336 w (highly) 3411 3336 w (redundant,) 3698 3336 w (while) 4153 3336 w (containing) 4406 3336 w (a) 4859 3336 w (lot) 4934 3336 w (of) 720 3456 w (information) 835 3456 w (that) 1339 3456 w (the) 1521 3456 w (human) 1675 3456 w (eye) 1979 3456 w (can't) 2149 3456 w (even) 2380 3456 w (discern.) 2600 3456 w (Furthermore,) 2970 3456 w (the) 3526 3456 w (format) 3679 3456 w (allows) 3976 3456 w (very) 4268 3456 w (little) 4476 3456 w (informa\255) 4691 3456 w (tion) 720 3576 w (about) 910 3576 w (the) 1166 3576 w (image) 1322 3576 w (besides) 1600 3576 w (basic) 1928 3576 w (color,) 2167 3576 w (which) 2431 3576 w (means) 2709 3576 w (you) 2998 3576 w (may) 3182 3576 w (have) 3388 3576 w (to) 3610 3576 w (couple) 3722 3576 w (a) 4022 3576 w (file) 4100 3576 w (in) 4268 3576 w (this) 4381 3576 w (format) 4561 3576 w (with) 4862 3576 w (other) 720 3696 w (independent) 952 3696 w (information) 1467 3696 w (to) 1966 3696 w (get) 2071 3696 w (any) 2220 3696 w (decent) 2391 3696 w (use) 2678 3696 w (out) 2838 3696 w (of) 2993 3696 w (it.) 3102 3696 w (However,) 3234 3696 w (it) 3650 3696 w (is) 3732 3696 w (very) 3825 3696 w (easy) 4028 3696 w (to) 4231 3696 w (write) 4335 3696 w (and) 4566 3696 w (analyze) 4736 3696 w (programs to process this format, and that is the point.) 720 3816 w (It) 720 3972 w (should) 810 3972 w (also) 1106 3972 w (be) 1296 3972 w (noted) 1419 3972 w (that) 1670 3972 w (files) 1849 3972 w (often) 2050 3972 w (conform) 2284 3972 w (to) 2651 3972 w (this) 2758 3972 w (format) 2932 3972 w (in) 3227 3972 w (every) 3334 3972 w (respect) 3584 3972 w (except) 3895 3972 w (the) 4184 3972 w (precise) 4335 3972 w (semantics) 4646 3972 w (of) 720 4092 w (the) 839 4092 w (sample) 997 4092 w (values.) 1316 4092 w (These) 1657 4092 w (files) 1931 4092 w (are) 2139 4092 w (useful) 2296 4092 w (because) 2575 4092 w (of) 2925 4092 w (the) 3043 4092 w (way) 3200 4092 w (PPM) 3401 4092 w (is) 3637 4092 w (used) 3739 4092 w (as) 3957 4092 w (an) 4075 4092 w (intermediary) 4204 4092 w (format.) 4749 4092 w (They) 720 4212 w (are) 957 4212 w (informally) 1110 4212 w (called) 1564 4212 w (PPM) 1834 4212 w (files,) 2067 4212 w (but) 2296 4212 w (to) 2456 4212 w (be) 2566 4212 w (absolutely) 2692 4212 w (precise,) 3135 4212 w (you) 3474 4212 w (should) 3656 4212 w (indicate) 3955 4212 w (the) 4303 4212 w (variation) 4458 4212 w (from) 4846 4212 w (true PPM.) 720 4332 w (For example, "PPM using the red, green, and blue colors that the scanner in question uses.") 1176 4332 w (The) 720 4488 w (name) 904 4488 w ("PPM") 1149 4488 w (is) 1461 4488 w (an) 1557 4488 w (acronym) 1680 4488 w (derived) 2058 4488 w (from) 2386 4488 w ("Portable) 2609 4488 w (Pixel) 3012 4488 w (Map.") 3247 4488 w (Images) 3550 4488 w (in) 3867 4488 w (this) 3974 4488 w (format) 4148 4488 w (\(or) 4444 4488 w (a) 4590 4488 w (precursor) 4664 4488 w (of it\) were once also called "portable pixmaps.") 720 4608 w (The) 720 4764 w (format) 907 4764 w (definition) 1205 4764 w (is) 1626 4764 w (as) 1725 4764 w (follows.) 1840 4764 w (You) 2222 4764 w (can) 2426 4764 w (use) 2596 4764 w (the) 2762 4764 w (libnetpbm) 2917 4764 w (C) 3356 4764 w (subroutine) 3456 4764 w (library) 3911 4764 w (to) 4210 4764 w (read) 4321 4764 w (and) 4525 4764 w (interpret) 4702 4764 w (the format conveniently and accurately.) 720 4884 w (A) 720 5040 w (PPM) 823 5040 w (file) 1056 5040 w (consists) 1221 5040 w (of) 1570 5040 w (a) 1685 5040 w (sequence) 1761 5040 w (of) 2158 5040 w (one) 2273 5040 w (or) 2449 5040 w (more) 2564 5040 w (PPM) 2801 5040 w (images.) 3034 5040 w (There) 3374 5040 w (are) 3638 5040 w (no) 3791 5040 w (data,) 3923 5040 w (delimiters,) 4146 5040 w (or) 4603 5040 w (padding) 4718 5040 w (before, after, or between images.) 720 5160 w (Each PPM image consists of the following:) 720 5316 w (1) 720 5472 w (A) 970 5472 w ("magic) 1071 5472 w (number") 1385 5472 w (for) 1761 5472 w (identifying) 1907 5472 w (the) 2376 5472 w (file) 2528 5472 w (type.) 2691 5472 w (A) 2943 5472 w (ppm) 3045 5472 w (image's) 3253 5472 w (magic) 3599 5472 w (number) 3873 5472 w (is) 4208 5472 w (the) 4305 5472 w (two) 4457 5472 w (characters) 4637 5472 w ("P6".) 970 5592 w (2) 720 5748 w (Whitespace \(blanks, TABs, CRs, LFs\).) 970 5748 w (3) 720 5904 w (A width, formatted as ASCII characters in decimal.) 970 5904 w (4) 720 6060 w (Whitespace.) 970 6060 w (5) 720 6216 w (A height, again in ASCII decimal.) 970 6216 w (6) 720 6372 w (Whitespace.) 970 6372 w (7) 720 6528 w (The) 970 6528 w (maximum) 1161 6528 w (color) 1603 6528 w (value) 1844 6528 w (\(Maxval\),) 2096 6528 w (again) 2528 6528 w (in) 2781 6528 w (ASCII) 2896 6528 w (decimal.) 3194 6528 w (Must) 3597 6528 w (be) 3840 6528 w (less) 3971 6528 w (than) 4158 6528 w (65536) 4367 6528 w (and) 4654 6528 w (more) 4835 6528 w (than zero.) 970 6648 w (8) 720 6804 w (Newline or other single whitespace character.) 970 6804 w (9) 720 6960 w (A) 970 6960 w (raster) 1076 6960 w (of) 1331 6960 w (Height) 1448 6960 w (rows,) 1754 6960 w (in) 2007 6960 w (order) 2120 6960 w (from) 2365 6960 w (top) 2594 6960 w (to) 2757 6960 w (bottom.) 2870 6960 w (Each) 3239 6960 w (row) 3473 6960 w (consists) 3663 6960 w (of) 4015 6960 w (Width) 4133 6960 w (pixels,) 4418 6960 w (in) 4717 6960 w (order) 4830 6960 w (from) 970 7080 w (left) 1194 7080 w (to) 1357 7080 w (right.) 1465 7080 w (Each) 1734 7080 w (pixel) 1963 7080 w (is) 2193 7080 w (a) 2290 7080 w (triplet) 2364 7080 w (of) 2633 7080 w (red,) 2746 7080 w (green,) 2928 7080 w (and) 3204 7080 w (blue) 3377 7080 w (samples,) 3578 7080 w (in) 3954 7080 w (that) 4061 7080 w (order.) 4240 7080 w (Each) 4529 7080 w (sample) 4757 7080 w (is) 970 7200 w (represented) 1076 7200 w (in) 1574 7200 w (pure) 1691 7200 w (binary) 1907 7200 w (by) 2202 7200 w (either) 2342 7200 w (1) 2609 7200 w (or) 2699 7200 w (2) 2822 7200 w (bytes.) 2912 7200 w (If) 3213 7200 w (the) 3319 7200 w (Maxval) 3481 7200 w (is) 3826 7200 w (less) 3933 7200 w (than) 4123 7200 w (256,) 4335 7200 w (it) 4550 7200 w (is) 4646 7200 w (1) 4753 7200 w (byte.) 4843 7200 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 (Otherwise, it is 2 bytes.) 970 840 w (The most significant byte is first.) 1964 840 w (A row of an image is horizontal.) 720 996 w (A column is vertical.) 2065 996 w (The pixels in the image are square and contiguous.) 2953 996 w (10) 720 1152 w (In) 970 1152 w (the) 1085 1152 w (raster,) 1239 1152 w (the) 1517 1152 w (sample) 1671 1152 w (values) 1986 1152 w (are) 2273 1152 w ("nonlinear.") 2426 1152 w (They) 2942 1152 w (are) 3179 1152 w (proportional) 3332 1152 w (to) 3859 1152 w (the) 3970 1152 w (intensity) 4125 1152 w (of) 4503 1152 w (the) 4619 1152 w (ITU\255R) 4774 1152 w (Recommendation) 970 1272 w (BT.709) 1709 1272 w (red,) 2046 1272 w (green,) 2232 1272 w (and) 2512 1272 w (blue) 2690 1272 w (in) 2895 1272 w (the) 3006 1272 w (pixel,) 3161 1272 w (adjusted) 3419 1272 w (by) 3785 1272 w (the) 3918 1272 w (BT.709) 4073 1272 w (gamma) 4409 1272 w (transfer) 4736 1272 w (function.) 970 1392 w (\(That) 1382 1392 w (transfer) 1627 1392 w (function) 1960 1392 w (specifies) 2322 1392 w (a) 2700 1392 w (gamma) 2773 1392 w (number) 3096 1392 w (of) 3430 1392 w (2.2) 3542 1392 w (and) 3696 1392 w (has) 3870 1392 w (a) 4033 1392 w (linear) 4107 1392 w (section) 4364 1392 w (for) 4677 1392 w (small) 4823 1392 w (intensities\).) 970 1512 w (A) 1489 1512 w (value) 1590 1512 w (of) 1835 1512 w (Maxval) 1947 1512 w (for) 2281 1512 w (all) 2426 1512 w (three) 2555 1512 w (samples) 2783 1512 w (represents) 3134 1512 w (CIE) 3567 1512 w (D65) 3757 1512 w (white) 3958 1512 w (and) 4209 1512 w (the) 4382 1512 w (most) 4533 1512 w (intense) 4757 1512 w (color in the color universe of) 970 1632 w (which) 2152 1632 w (the) 2422 1632 w (image) 2570 1632 w (is) 2840 1632 w (part) 2933 1632 w (\(the) 3114 1632 w (color) 3295 1632 w (universe) 3526 1632 w (is) 3890 1632 w (all) 3983 1632 w (the) 4109 1632 w (colors) 4257 1632 w (in) 4527 1632 w (all) 4631 1632 w (images) 4757 1632 w (to which this image might be compared\).) 970 1752 w (ITU\255R) 720 1908 w (Recommendation) 1022 1908 w (BT.709) 1763 1908 w (is) 2102 1908 w (a) 2205 1908 w (renaming) 2285 1908 w (of) 2698 1908 w (the) 2817 1908 w (former) 2975 1908 w (CCIR) 3282 1908 w (Recommendation) 3552 1908 w (709.) 4294 1908 w (When) 4531 1908 w (CCIR) 4806 1908 w (was) 720 2028 w (absorbed) 912 2028 w (into) 1309 2028 w (its) 1502 2028 w (parent) 1634 2028 w (organization,) 1920 2028 w (the) 2481 2028 w (ITU,) 2640 2028 w (ca.) 2868 2028 w (2000,) 3018 2028 w (the) 3280 2028 w (standard) 3438 2028 w (was) 3812 2028 w (renamed.) 4003 2028 w (This) 4432 2028 w (document) 4646 2028 w (once) 720 2148 w (referred) 940 2148 w (to) 1286 2148 w (the) 1396 2148 w (standard) 1550 2148 w (as) 1920 2148 w (CIE) 2035 2148 w (Rec.) 2228 2148 w (709,) 2440 2148 w (but) 2647 2148 w (it) 2807 2148 w (isn't) 2895 2148 w (clear) 3105 2148 w (now) 3330 2148 w (that) 3534 2148 w (CIE) 3717 2148 w (ever) 3911 2148 w (sponsored) 4115 2148 w (such) 4553 2148 w (a) 4769 2148 w (stan\255) 4846 2148 w (dard.) 720 2268 w (Note) 720 2424 w (that) 941 2424 w (another) 1118 2424 w (popular) 1444 2424 w (color) 1776 2424 w (space) 2008 2424 w (is) 2256 2424 w (the) 2350 2424 w (newer) 2499 2424 w (sRGB.) 2769 2424 w (A) 3092 2424 w (common) 3192 2424 w (variation) 3570 2424 w (on) 3953 2424 w (PPM) 4081 2424 w (is) 4310 2424 w (to) 4405 2424 w (subsitute) 4511 2424 w (this) 4895 2424 w (color space for the one specified.) 720 2544 w (11) 720 2700 w (Note) 970 2700 w (that) 1200 2700 w (a) 1386 2700 w (common) 1466 2700 w (variation) 1852 2700 w (on) 2244 2700 w (the) 2381 2700 w (PPM) 2540 2700 w (format) 2778 2700 w (is) 3081 2700 w (to) 3185 2700 w (have) 3300 2700 w (the) 3525 2700 w (sample) 3684 2700 w (values) 4004 2700 w (be) 4296 2700 w ("linear,") 4427 2700 w (i.e.) 4798 2700 w (as) 4957 2700 w (specified) 970 2820 w (above) 1369 2820 w (except) 1646 2820 w (without) 1945 2820 w (the) 2289 2820 w (gamma) 2449 2820 w (adjustment.) 2781 2820 w 10 /Times-Bold f (pnmgamma) 3308 2820 w 10 /Times-Roman f (takes) 3857 2820 w (such) 4100 2820 w (a) 4321 2820 w (PPM) 4403 2820 w (variant) 4642 2820 w (as) 4957 2820 w (input and produces a true PPM as output.) 970 2940 w (12) 720 3096 w (Characters from a "#" to the next end\255of\255line, before the maxval line, are comments and are ignored.) 970 3096 w (Note that you can use) 720 3288 w 10 /Times-Bold f (pamdepth) 1610 3288 w 10 /Times-Roman f (to convert between a the format with 1 byte) 2069 3288 w (per) 3836 3288 w (sample) 3989 3288 w (and) 4298 3288 w (the) 4468 3288 w (one) 4616 3288 w (with) 4786 3288 w (2) 4990 3288 w (bytes per sample.) 720 3408 w (There) 720 3564 w (is) 987 3564 w (actually) 1089 3564 w (another) 1440 3564 w (version) 1774 3564 w (of) 2103 3564 w (the) 2221 3564 w (PPM) 2378 3564 w (format) 2615 3564 w (that) 2917 3564 w (is) 3103 3564 w (fairly) 3206 3564 w (rare:) 3458 3564 w ("plain") 3676 3564 w (PPM) 3994 3564 w (format.) 4231 3564 w (The) 4583 3564 w (format) 4774 3564 w (above,) 720 3684 w (which) 1012 3684 w (generally) 1285 3684 w (considered) 1684 3684 w (the) 2144 3684 w (normal) 2294 3684 w (one,) 2605 3684 w (is) 2802 3684 w (known) 2897 3684 w (as) 3197 3684 w (the) 3308 3684 w ("raw") 3458 3684 w (PPM) 3717 3684 w (format.) 3946 3684 w (See) 4290 3684 w 10 /Times-Bold f (pbm) 4462 3684 w 10 /Times-Roman f (for) 4685 3684 w (some) 4829 3684 w (commentary on how plain and raw formats relate to one another and how to use them.) 720 3804 w (The difference in the plain format is:) 720 3960 w (\255) 970 4116 w (There is exactly one image in a file.) 1220 4116 w (\255) 970 4272 w (The magic number is P3 instead of P6.) 1220 4272 w (\255) 970 4428 w (Each sample in the raster is represented as an ASCII decimal number \(of arbitrary size\).) 1220 4428 w (\255) 970 4584 w (Each) 1220 4584 w (sample) 1448 4584 w (in) 1760 4584 w (the) 1867 4584 w (raster) 2018 4584 w (has) 2268 4584 w (white) 2430 4584 w (space) 2681 4584 w (before) 2931 4584 w (and) 3214 4584 w (after) 3388 4584 w (it.) 3600 4584 w (There) 3736 4584 w (must) 3998 4584 w (be) 4223 4584 w (at) 4347 4584 w (least) 4449 4584 w (one) 4662 4584 w (char\255) 4836 4584 w (acter) 1220 4704 w (of) 1443 4704 w (white) 1556 4704 w (space) 1808 4704 w (between) 2059 4704 w (any) 2421 4704 w (two) 2594 4704 w (samples,) 2773 4704 w (but) 3149 4704 w (there) 3306 4704 w (is) 3534 4704 w (no) 3630 4704 w (maximum.) 3759 4704 w (There) 4244 4704 w (is) 4505 4704 w (no) 4601 4704 w (particu\255) 4730 4704 w (lar) 1220 4824 w (separation) 1351 4824 w (of) 1787 4824 w (one) 1896 4824 w (pixel) 2066 4824 w (from) 2293 4824 w (another) 2514 4824 w (\255\255) 2840 4824 w (just) 2933 4824 w (the) 3105 4824 w (required) 3254 4824 w (separation) 3613 4824 w (between) 4050 4824 w (the) 4409 4824 w (blue) 4558 4824 w (sample) 4757 4824 w (of one pixel from the red sample of the next pixel.) 1220 4944 w (\255) 970 5100 w (No line should be longer than 70 characters.) 1220 5100 w (Here is an example of a small pixmap in this format.) 720 5256 w (P3) 720 5436 w (# feep.ppm) 720 5556 w (4 4) 720 5676 w (15) 720 5796 w (0) 745 5916 w (0) 845 5916 w (0) 945 5916 w (0) 1095 5916 w (0) 1195 5916 w (0) 1295 5916 w (0) 1445 5916 w (0) 1545 5916 w (0) 1645 5916 w (15) 1770 5916 w (0 15) 1920 5916 w (0) 745 6036 w (0) 845 6036 w (0) 945 6036 w (0 15) 1095 6036 w (7) 1320 6036 w (0) 1470 6036 w (0) 1570 6036 w (0) 1670 6036 w (0) 1820 6036 w (0) 1920 6036 w (0) 2020 6036 w (0) 745 6156 w (0) 845 6156 w (0) 945 6156 w (0) 1095 6156 w (0) 1195 6156 w (0) 1295 6156 w (0 15) 1445 6156 w (7) 1670 6156 w (0) 1820 6156 w (0) 1920 6156 w (0) 2020 6156 w (15) 720 6276 w (0 15) 870 6276 w (0) 1145 6276 w (0) 1245 6276 w (0) 1345 6276 w (0) 1495 6276 w (0) 1595 6276 w (0) 1695 6276 w (0) 1845 6276 w (0) 1945 6276 w (0) 2045 6276 w (There is a newline character at the end of each of these lines.) 720 6492 w (Programs) 720 6648 w (that) 1131 6648 w (read) 1309 6648 w (this) 1508 6648 w (format) 1681 6648 w (should) 1975 6648 w (be) 2270 6648 w (as) 2392 6648 w (lenient) 2503 6648 w (as) 2803 6648 w (possible,) 2914 6648 w (accepting) 3295 6648 w (anything) 3705 6648 w (that) 4083 6648 w (looks) 4261 6648 w (remotely) 4506 6648 w (like) 4890 6648 w (a pixmap.) 720 6768 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Page: 3 3 /saveobj save def mark 3 pagesetup 10 /Times-Roman f (\255 3 \255) 2797 480 w 10 /Times-Bold f (COMPATIBILITY) 720 840 w 10 /Times-Roman f (Before) 720 1032 w (April) 1023 1032 w (2000,) 1266 1032 w (a) 1523 1032 w (raw) 1599 1032 w (format) 1780 1032 w (PPM) 2078 1032 w (file) 2311 1032 w (could) 2476 1032 w (not) 2730 1032 w (have) 2890 1032 w (a) 3110 1032 w (maxval) 3186 1032 w (greater) 3512 1032 w (than) 3820 1032 w (255.) 4024 1032 w (Hence,) 4256 1032 w (it) 4568 1032 w (could) 4657 1032 w (not) 4912 1032 w (have more than one byte per sample.) 720 1152 w (Old programs may depend on this.) 2236 1152 w (Before) 720 1308 w (July) 1020 1308 w (2000,) 1216 1308 w (there) 1470 1308 w (could) 1698 1308 w (be) 1949 1308 w (at) 2072 1308 w (most) 2173 1308 w (one) 2397 1308 w (image) 2570 1308 w (in) 2843 1308 w (a) 2950 1308 w (PPM) 3023 1308 w (file.) 3253 1308 w (As) 3465 1308 w (a) 3605 1308 w (result,) 3678 1308 w (most) 3954 1308 w (tools) 4178 1308 w (to) 4402 1308 w (process) 4510 1308 w (PPM) 4839 1308 w (files ignore \(and don't read\) any data after the first image.) 720 1428 w 10 /Times-Bold f (SEE ALSO) 720 1668 w 10 /Times-Roman f (pnm, pgm, pbm, pam, programs that process PPM) 720 1824 w 10 /S1 f (________________________________________________________________________) 720 1944 w 10 /Times-Bold f (Table Of Contents) 720 2184 w 10 /LucidaSansUnicode22 f (\031) 720 2376 w 10 /Times-Roman f (DESCRIPTION) 970 2376 w 10 /LucidaSansUnicode22 f (\031) 720 2532 w 10 /Times-Roman f (COMPATIBILITY) 970 2532 w 10 /LucidaSansUnicode22 f (\031) 720 2688 w 10 /Times-Roman f (SEE ALSO) 970 2688 w cleartomark showpage saveobj restore %%EndPage: 3 3 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Bold S1 %%Pages: 3