1img-xpm(n) Img img-xpm(n)
2
3
4
5______________________________________________________________________________
6
8 img-xpm - Img, X Windows Pixmap Format (xpm)
9
11 package require Tk
12
13 package require img::xpm ?1.4?
14
15 image create photo ?name? ?options?
16
17______________________________________________________________________________
18
20 The package img::xpm is a sub-package of Img. It can be loaded as a
21 part of the complete Img support, via package require Img, or on its
22 own, via package require img::xpm.
23
24 Like all packages of Img it does not provide new commands, but extends
25 the existing Tk command image so that it supports files containing
26 raster images in the X Windows Pixmap Format (xpm). More specifically
27 img::xpm extends Tk's photo image type.
28
29 The name of the new format handler is xpm. This handler does not pro‐
30 vide additional configuration options.
31
32 All of the above means that in a call like
33
34 image create photo ?name? ?options?
35
36 [1] Image data in xpm format (options -data and -file) is detected
37 automatically.
38
39 [2] The format name xpm is recognized by the option -format.
40
42 img-bmp, img-dted, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-
43 pixmap, img-png, img-ppm, img-ps, img-raw, img-sgi, img-sun, img-tga,
44 img-tiff, img-window, img-xbm, img-xpm
45
47 image handling, tk, xpm
48
50 Copyright (c) 1995-2009 Jan Nijtmans <nijtmans@users.sourceforge.net>
51
52
53
54
55img-xpm 1.4 img-xpm(n)