unibmp2hex1
Bitmap graphics file to gnu unifont .hex file converter
Usage
unibmp2hex [-phexpage]
[-iinput_file.bmp]
[-ooutput_file.hex]
[-w]
Overview
unibmp2hex reads a bitmap produced by unihex2bmp before or after editing, and converts it back into a Unifont .hex format file. The graphics file contains a block of 256 Unicode code points arranged in a 16 by 16 grid. Each code point appears in a 32 by 32 pixel grid. Characters are 16 rows high, and 8, 16, or 31 (treated as 32) columns wide.
Options
-
-p -
Specify that the code points will be assigned to the 256 block space pagenum in the .hex file. If not specified,
unibmp2hexwill determine the appropriate block by reading the row and column headers. Note that "page" is not a standard Unicode term. It refers to an output bitmap graphics page of 16 by 16 code points. If pagenum is greater than FF, the block resides above the Unicode Basic Multilingual Plane. In that event, the .hex file will contain eight digit hexadecimal code points rather than the Unifont standard of four hexadecimal code points.
-
-i -
Specify the input file. The default is STDIN.
-
-o -
Specify the output file. The default is STDOUT.
-
-w -
Force all output .hex glyphs to be 16 pixels wide rather than dual width (8 or 16 pixels).
Examples
Sample usage:
unibmp2hex -imy_input_file.bmp -omy_output_file.hex
Files
*.bmp or *.wbmp graphics files
Releases
9 releases since Debian 5.0 (Lenny); the text changed 5 times.
-p since Debian 11 (Bullseye).
-ppagenum until Debian 10 (Buster).