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: ppmtowinicon.html (3.96 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | ppmtowiniconUpdated: 01 May 2004Table Of Contents NAMEppmtowinicon - convert PPM image into a Windows .ico fileSYNOPSISppmtowinicon [-andpgms] [-output=output.ico] [ppmfile [andfile] ...]DESCRIPTIONThis program is part of Netpbm. ppmtowinicon reads one or more PPM images as input and produces a Microsoft Windows .ico file as output. A Windows icon contains 1 or more images, at different resolutions and color depths. When Windows wants to display the icon, it searches through the images to find the one the best matches the number of colors and resolution of the display. Microsoft recommends including at least the following formats in each icon.
If you don't specify any input files, input is from Standard Input. Output is to Standard Output unless you specify -output. TransparencyIf you specify the -andmask option, you get (partly) transparent icons. In that case, your arguments are pairs of file names, with the first file name being that of the image and the second file name being that of a standard Netpbm PGM transparency mask (see the pgm format specification). In a .ico file, there is no such thing as partial transparency (translucency). Where the PGM mask says completely opaque, the icon will be opaque. Everywhere else, the icon will be transparent. Note that as with any Netpbm program, you can use a PBM image for the transparency mask and ppmtowinicon will treat it like a PGM. The and mask is like an alpha mask, except for what it signifies in the "not opaque" areas. In the usual case, the foreground image is black in those areas, and in that case the areas are fully transparent -- the background shows through the icon. But in general, a not opaque pixel signifies that the background and foreground should be merged as follows: The intensities of the color components in the forgeground and background are represented as binary numbers, then corresponding bits of the background and foreground intensities are exlusive-or'ed together. So there is a sort of reverse video effect. If you don't want this special effect and instead want straightforward transparency, use the -truetransparent option. This causes ppmtowinicon to make the base image black everywhere your transparency mask says transparent, regardless of what color you input image is at that location. If you don't specify -andmask, ppmtowinicon puts all-opaque and masks into the .ico file. OPTIONS
SEE ALSOwinicontoppm, ppm pgmAUTHORCopyright (C) 2000 by Lee Benfield.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.0069 ]-- |