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: ppmsvgalib.html (4.51 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | ppmsvgalibUpdated: 11 May 2005Table Of Contents NAMEppmsvgalib - display PPM image on Linux console using SvgalibSYNOPSISppmsvgalib [-mode=mode]All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one to designate an option. You may use either white space or an equals sign between an option name and its value. DESCRIPTIONThis program is part of Netpbm. ppmsvgalib displays a PPM image on a Linux virtual console using the Svgalib facility. Svgalib is a popular means of displaying Graphics in Linux without the use of the X Window System. (To display a Netpbm image in an X window, see pamx). If you run ppmsvgalib with a version of Svgalib earlier than 1.9, you must run it with CAP_SYS_RAWIO capability (on most Linux systems, that means you run it as superuser), because Svgalib uses the ioperm() system call to access the console hardware. Newer Svgalib has its own device driver, so you need only proper permissions on a device special file to access the console. ppmsvgalib is not capable of using color mapped video modes. These are the old video modes that are usually called "8 bit" color modes. ppmsvgalib is a bare displayer. It won't do any manipulation of the image and is not interactive in any way. If you want a regular interactive graphics viewer that uses Svgalib, try zgv (not part of Netpbm). To exit ppmsvgalib while it is displaying your image, send it a SIGINTR signal (normally, this means "hit control C"). ppmsvgalib draws a white border around the edges of the screen. It does this to help you isolate problems between the image you're displaying and the facilities you're using to display it. (Note: if the image you're displaying reaches the edges of the screen, it will replace the white border). ppmsvgalib places the image in the center of the screen. If your image is too big to display in the video mode you selected, ppmsvgalib fails. You can use pamcut to cut out a part of the image to display or use pamscale to shrink the image to fit. If you want to play with ppmsvgalib, ppmcie is a good way to generate a test image. To be pedantic, we must observe that ppmsvgalib displays a PPM image in the correct colors only if the display has a transfer function which is the exact inverse of the gamma function that is specified in the PPM specification. Happily, most CRT displays are pretty close. Running the PPM image through pnmgamma can help cause ppmsvgalib to display the correct colors. OPTIONS
SEE ALSOpamx, pamcut, pamscale, ppmcie, ppm, zgv, Svgalib, vgatestAUTHORBy Bryan Henderson, January 2002. Contributed to the public domain. 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.0053 ]-- |