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