|
NAMEimg-ppm - Img, Portable Pixmap format (ppm)SYNOPSISpackage require Tkpackage require img::ppm ?1.4? image create photo ?name? ?options? DESCRIPTIONThe package img::ppm is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require Img, or on its own, via package require img::ppm.Like all packages of Img it does not provide new commands, but extends the existing Tk command image so that it supports files containing raster images in the Portable Pixmap format (ppm). More specifically img::ppm extends Tk's photo image type. The name of the new format handler is ppm. This handler provides additional configuration options. See section PPM OPTIONS for more detailed explanations. All of the above means that in a call like
SUPPORTED PPM TYPESThis handler supports the PPM (Truecolor) and PGM (Greyscale) image formats. There are two types of PPM/PGM files: RAW (binary) and ASCII. The values stored in PPM/PGM files can be unsigned 8-bit or unsigned 16-bit values.Grayscale (PGM): 8-bit and 16-bit, 1 channel per pixel. Truecolor (PPM): 8-bit and 16-bit, 3 channels per pixel. List of currently supported features: Type | Read | Write | | -file | -data | -file | -data | --------------------------------------------------- PGM 8-bit ASCII | Yes | Yes | No | No | PGM 8-bit BINARY | Yes | Yes | No | No | PGM 16-bit ASCII | Yes | Yes | No | No | PGM 16-bit BINARY | Yes | Yes | No | No | PPM 8-bit ASCII | Yes | Yes | Yes | Yes | PPM 8-bit BINARY | Yes | Yes | Yes | Yes | PPM 16-bit ASCII | Yes | Yes | No | No | PPM 16-bit BINARY | Yes | Yes | No | No | PPM OPTIONSThe handler provides the following options:
SEE ALSOimg-bmp, img-dted, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-raw, img-sgi, img-sun, img-tga, img-tiff, img-window, img-xbm, img-xpmKEYWORDSimage handling, ppm, tkCOPYRIGHTCopyright (c) 1995-2009 Jan Nijtmans <nijtmans@users.sourceforge.net>
Visit the GSP FreeBSD Man Page Interface. |