1UNIBMP2HEX(1)               General Commands Manual              UNIBMP2HEX(1)
2
3
4

NAME

6       unibmp2hex - Bitmap graphics file to GNU Unifont .hex file converter
7

SYNOPSIS

9       unibmp2hex [-phexpage] [-iinput_file.bmp] [-ooutput_file.hex] [-w]
10

DESCRIPTION

12       unibmp2hex  reads a bitmap produced by unihex2bmp before or after edit‐
13       ing, and converts it back into a Unifont .hex format file.  The  graph‐
14       ics  file  contains a block of 256 Unicode code points arranged in a 16
15       by 16 grid.  Each code point appears in a 32 by 32 pixel grid.  Charac‐
16       ters are 16 rows high, and 8, 16, or 31 (treated as 32) columns wide.
17

OPTIONS

19       -p    Specify  that  the  code points will be assigned to the 256 block
20             space pagenum in the .hex file.   If  not  specified,  unibmp2hex
21             will  determine the appropriate block by reading the row and col‐
22             umn headers.  Note that "page" is not a  standard  Unicode  term.
23             It  refers  to  an  output  bitmap graphics page of 16 by 16 code
24             points.  If pagenum is greater than FF, the block  resides  above
25             the  Unicode  Basic  Multilingual  Plane. In that event, the .hex
26             file will contain eight digit hexadecimal code points rather than
27             the Unifont standard of four hexadecimal code points.
28
29       -i    Specify the input file. The default is STDIN.
30
31       -o    Specify the output file. The default is STDOUT.
32
33       -w    Force  all  output  .hex  glyphs to be 16 pixels wide rather than
34             dual width (8 or 16 pixels).
35

EXAMPLE

37       Sample usage:
38
39              unibmp2hex -imy_input_file.bmp -omy_output_file.hex
40

FILES

42       *.bmp or *.wbmp graphics files
43

SEE ALSO

45       bdfimplode(1), hex2bdf(1), hex2otf(1), hex2sfd(1), hexbraille(1),  hex‐
46       draw(1),   hexkinya(1),   hexmerge(1),   johab2ucs2(1),  unibdf2hex(1),
47       unibmpbump(1),   unicoverage(1),   unidup(1),   unifont(5),    unifont-
48       viewer(1),  unifont1per(1),  unifontchojung(1), unifontksx(1), unifont‐
49       pic(1), unigencircles(1), unigenwidth(1), unihex2bmp(1), unihex2png(1),
50       unihexfill(1),    unihexgen(1),    unihexrotate(1),    unipagecount(1),
51       unipng2hex(1)
52

AUTHOR

54       unibmp2hex was written by Paul Hardy.
55

LICENSE

57       unibmp2hex is Copyright © 2007, 2008 Paul Hardy.
58
59       This program is free software; you can redistribute it and/or modify it
60       under  the  terms of the GNU General Public License as published by the
61       Free Software Foundation; either version 2 of the License, or (at  your
62       option) any later version.
63

BUGS

65       No  known  real  bugs exist, except that this software does not perform
66       extensive error checking on its input files.  If  they're  not  in  the
67       format  of  the original bitmapped output from unihex2bmp, all bets are
68       off.
69
70       If the output file is for a "page" containing space code points and the
71       bitmap  file  squares  for  those code points are not empty, unibmp2hex
72       preserves the graphics as they are drawn.
73
74
75
76                                  2007 Dec 31                    UNIBMP2HEX(1)
Impressum