1img-xbm(n) Img img-xbm(n)
2
3
4
6 img-xbm - Img, X Windows Bitmap Format (xbm)
7
9 package require Tk
10
11 package require img::xbm ?1.4?
12
13 image create photo ?name? ?options?
14
15
17 The package img::xbm 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::xbm.
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 Bitmap Format (xbm). More specifically
24 img::xbm extends Tk's photo image type.
25
26 The name of the new format handler is xbm. 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 xbm format (options -data and -file) is detected
34 automatically.
35
36 [2] The format name xbm 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, xbm
45
47 Copyright (c) 1995-2009 Jan Nijtmans <nijtmans@users.sourceforge.net>
48
49
50
51
52img-xbm 1.4 img-xbm(n)