img-bmp
Img, Windows Bitmap Format (bmp)
- Provided by: libtk-img-doc (Version: 1:1.4.16+dfsg1-1build2)
- Source: libtk-img
- Report a bug
Img, Windows Bitmap Format (bmp)
package require Tk
package require img::bmp ?1.4?
image create photo ?name? ?options?
package require img::bmp.
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 Windows Bitmap Format (bmp). More specifically img::bmp extends Tk's photo image type.
The name of the new format handler is bmp.
The package img::bmp 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::bmp.
This handler provides new additional configuration options. See section BMP OPTIONS for more detailed explanations.
All of the above means that in a call like
The handler provides the following options:
img write out.bmp -format {bmp -resolution {300 i}}
img write out.bmp -format {bmp -resolution {1 3}}
img write out.bmp -format {bmp -resolution {300 100 i}}
img-bmp, img-dted, img-flir, 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-xpm
bmp, image handling, tk
Copyright (c) 1995-2023 Jan Nijtmans <nijtmans@users.sourceforge.net>