Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

unihex2bmp(1) [debian man page]

UNIHEX2BMP(1)						      General Commands Manual						     UNIHEX2BMP(1)

NAME
unihex2bmp - GNU Unifont .hex file to bitmap graphics file converter SYNOPSIS
unihex2bmp [-phexpage] [-iinput_file] [-ooutput_file] [-f] [-w] DESCRIPTION
unihex2bmp reads a GNU Unifont .hex file Unicode page of 256 code points and converts the page into a Microsoft Windows Bitmap (.bmp) or Wireless Bitmap (.wbmp) file. The bitmap file displays the glyphs of a Unicode block of 256 code points in a 32 by 32 pixel grid. The glyphs themselves must be 16 rows, and either 8 columns or 16 columns wide. The default page is 0; that is, the range U+0000 throught U+00FF. The bitmap can be printed. It can also be edited with a bitmap editor. An edited bitmap can then be re-converted into a GNU Unifont .hex file with the unibmp2hex command. OPTIONS
-ppagenum Extract page pagenum from the .hex file. The default is Page 0 (Unicode range U+0000 through U+00FF). Note that "page" is not a standard Unicode term. It refers to an output bitmap graphics page of 16 by 16 code points. -i Specify the input file. The default is stdin. -o Specify the output file. The default is stdout. -f "Flip" (transpose) the grid so it matches the Unicode standard order. -w Produce a Wireless Bitmap format file instead of a Microsoft Windows Bitmap file. FILES
*.hex GNU Unifont font files SEE ALSO
bdfimplode(1), hex2bdf(1), hex2bdf-split(1), hex2sfd(1), hexbraille(1), hexdraw(1), hexmerge(1), johab2ucs2(1), unibmp2hex(1), unicover- age(1), unidup(1), unipagecount(1), uniunmask(1) AUTHOR
unihex2bmp was written by Paul Hardy. LICENSE
unihex2bmp is Copyright (C) 2007 Paul Hardy, and is released under version 2 of the GNU General Public License, or (at your option) a later version. BUGS
No known real bugs exist, except that this software does not perform extensive error checking on its input files. If they're not in the format of the original GNU Unifont hex file, all bets are off. Lines can be terminated either with carriage return, or carriage return plus line feed. 2007 Dec 31 UNIHEX2BMP(1)

Check Out this Related Man Page

Bitmap(3)						User Contributed Perl Documentation						 Bitmap(3)

NAME
Tk::Bitmap - Images that display two colors SYNOPSIS
$image = $widget->Bitmap?(name??,options?) DESCRIPTION
A bitmap is an image whose pixels can display either of two colors or be transparent. A bitmap image is defined by four things: a background color, a foreground color, and two bitmaps, called the source and the mask. Each of the bitmaps specifies 0/1 values for a rectangular array of pixels, and the two bitmaps must have the same dimensions. For pixels where the mask is zero, the image displays nothing, producing a transparent effect. For other pixels, the image displays the foreground color if the source data is one and the background color if the source data is zero. CREATING BITMAPS
Bitmaps are created using $widget->Bitmap. Bitmaps support the following options: -background => color Specifies a background color for the image in any of the standard ways accepted by Tk. If this option is set to an empty string then the background pixels will be transparent. This effect is achieved by using the source bitmap as the mask bitmap, ignoring any -maskdata or -maskfile options. -data => string Specifies the contents of the source bitmap as a string. The string must adhere to X11 bitmap format (e.g., as generated by the bitmap program). If both the -data and -file options are specified, the -data option takes precedence. -file => name name gives the name of a file whose contents define the source bitmap. The file must adhere to X11 bitmap format (e.g., as generated by the bitmap program). -foreground => color Specifies a foreground color for the image in any of the standard ways accepted by Tk. -maskdata => string Specifies the contents of the mask as a string. The string must adhere to X11 bitmap format (e.g., as generated by the bitmap program). If both the -maskdata and -maskfile options are specified, the -maskdata option takes precedence. -maskfile => name name gives the name of a file whose contents define the mask. The file must adhere to X11 bitmap format (e.g., as generated by the bitmap program). IMAGE METHODS
When a bitmap image is created, Tk also creates a new object. This object supports the configure and cget methods described in Tk::options which can be used to enquire and modify the options described above. SEE ALSO
Tk::Image Tk::Pixmap Tk::Photo KEYWORDS
bitmap, image perl v5.12.1 2007-05-05 Bitmap(3)
Man Page