Ppmtoarbtxt User Manual(0) Ppmtoarbtxt User Manual(0) (NAME) ppmtoarbtxt - PPM (SYNOPSIS) ppmtoarbtxt bodytmpl [-hd headtmpl] [-tl tailtmpl] [ppmfile] (DESCRIPTION) Netpbm(1) . ppmtoarbtxt . ( plain PNM raw PNM). ppmtoarbtxt PPM . ppmtoarbtxt (bodytmpl) (stdout) . (head template) ppmtoarbtxt . (tail template) . (Template Files) ppmtoarbtxt . #(...) . ppmtoarbtxt (white space) : (newline) ppmtoarbtxt . ( ) . . : : #(flum %%%2.2f 0 1) : %#(flum %2.2f 0 1) . ( #(random junk)) ppmtoarbtxt . : #(ired format blackref whiteref) blackref whiteref format . blackref (maxval) whiteref . format printf "%d" . ppmtoarbtxt POSIX fprintf . ppmtoarbtxt . . #(ired) #(ired %d 0 255) . #(igreen format blackref whiteref) #(ired... . #(iblue format blackref whiteref) #(ired... . #(ilum format blackref whiteref) #(ired... (luminance) : (0.299*red + 0.587*green + 0.114*blue). #(fred format blackref whiteref) #(ired... . fprintf format (double precision floating point) . #(fred) #(fred %f 0.0 1.0) . #(fgreen format blackref whiteref) #(fred... . #(fblue format blackref whiteref) #(fred... . #(flum format blackref whiteref) #(fred... : (0.299*red + 0.587*green + 0.114*blue). #(posx format) . fprintf format (unsigned integer) . format %u . #(posy format) #(width... . . : #(width format) . fprintf format . format %u . #(height format) #(width... . (OPTIONS) libnetpbm ( -quiet (Common Options) ) ppmtoarbtxt : -hd headtmpl (headtmpl ) ppmtoarbtxt headtmpl . -tl tailtmpl -hd . (EXAMPLES) (gray inversion) PGM ( ppmtopgm | pnminvert). : P2 #(width) #(height) 255 : #(ilum %d 255 0) povray povray (x,y,z) = (posx,height-posy,luminance) . . : #include "colors.inc" #include "textures.inc" camera { location <#(width) * 0.6, #(height) * 0.7, 80> look_at <#(width) * 0.5, #(height) * 0.5, 0> } light_source { <#(width) * 0.5, #(height) * 0.5, 25> color White } : sphere { <#(posx),#(height)-#(posy),#(ilum %d 0 10)>, 0.5 texture { pigment { color rgb <#(fred),#(fgreen),#(fblue)> } finish { phong 1 } } } (SEE ALSO) pnmtoplainpnm(1), pamtable(1), ppm(1) (HISTORY) ppmtoarbtxt . Netpbm ( ) . ppmtotxt . (AUTHOR) (C) Peter Kirchgessner (DOCUMENT SOURCE) <> Netpbm HTML . : http://netpbm.sourceforge.net/doc/ppmtoarbtxt.html netpbm documentation 26 November 2014 Ppmtoarbtxt User Manual(0)