1img-bmp(n) Img img-bmp(n)
2
3
4
5______________________________________________________________________________
6
8 img-bmp - Img, Windows Bitmap Format (bmp)
9
11 package require Tk
12
13 package require img::bmp ?1.4?
14
15 image create photo ?name? ?options?
16
17______________________________________________________________________________
18
20 The package img::bmp 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::bmp.
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 Windows Bitmap Format (bmp). More specifically
27 img::bmp extends Tk's photo image type.
28
29 The name of the new format handler is bmp. 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 bmp format (options -data and -file) is detected
37 automatically.
38
39 [2] The format name bmp 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 bmp, image handling, tk
48
50 Copyright (c) 1995-2009 Jan Nijtmans <nijtmans@users.sourceforge.net>
51
52
53
54
55img-bmp 1.4 img-bmp(n)