UNIBMP2HEX(1)
π UNIBMP2HEX π
okay bestie, gather round, because we're talking about unibmp2hex(1) β a whole General Commands Manual moment, and honestly? she ate. β¨
πΈ NAME πΈ
unibmp2hex β the Bitmap graphics file β GNU Unifont .hex file converter, no cap π
π¦ SYNOPSIS π¦
unibmp2hex [-phexpage] [-iinput_file.bmp] [-ooutput_file.hex] [-w]
β¨ DESCRIPTION β¨
so here's the vibe: unibmp2hex reads in a bitmap that was made by unihex2bmp β either before or after you've edited it, both are valid β and converts it right back into a Unifont .hex format file. glow-up complete π«Ά
the graphics file has a whole block of 256 Unicode code points in it, arranged in a 16 by 16 grid. and each individual code point? she's living in a 32 by 32 pixel grid.
characters are 16 rows high, and 8, 16, or 31 (treated as 32) columns wide. yes, 31 gets treated as 32 β she's rounding up, and honestly, good for her. π
π OPTIONS π
-pβ tellsunibmp2hexthat the code points are gonna be assigned to the 256 block space pagenum in the.hexfile. if you don't pass this,unibmp2hexwill figure out the right block all by herself by reading the row and column headers. main character behavior tbh. π
quick note bestie: "page" is not a standard Unicode term. it just means an output bitmap graphics page of 16 by 16 code points. iykyk.
and listen β if pagenum is greater than FF, that block lives above the Unicode Basic Multilingual Plane. when that happens, the .hex file will contain eight digit hexadecimal code points instead of the Unifont standard of four hexadecimal code points. she switches formats, she's flexible. π
-iβ specify the input file. default isSTDIN. πΈ-oβ specify the output file. default isSTDOUT. πΈ-wβ force ALL output.hexglyphs to be 16 pixels wide, rather than dual width (8 or 16 pixels). periodt. π
π EXAMPLE π
sample usage, bestie, look how easy:
unibmp2hex -imy_input_file.bmp -omy_output_file.hex
π FILES π
*.bmp or *.wbmp graphics files β that's the whole menu π
π§ SEE ALSO π§
the whole friend group, fr fr:
bdfimplode(1), hex2bdf(1), hex2otf(1), hex2sfd(1), hexbraille(1), hexdraw(1), hexkinya(1), hexmerge(1), johab2syllables(1), johab2ucs2(1), unibdf2hex(1), unibmpbump(1), unicoverage(1), unidup(1), unifont(5), unifont-johab631(5), unifont-viewer(1), unifont1per(1), unifontchojung(1), unifontksx(1), unifontpic(1), unigen-hangul(1), unigencircles(1), unigenwidth(1), unihex2bmp(1), unihex2png(1), unihexfill(1), unihexgen(1), unihexpose(1), unihexrotate(1), unijohab2html(1), unipagecount(1), unipng2hex(1)
π AUTHOR π
unibmp2hex was written by Paul Hardy. iconic of him, honestly. π
π LICENSE π
unibmp2hex is Copyright Β© 2007, 2008 Paul Hardy.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. slay. π
π BUGS π
okay so, no known real bugs exist, bestie β except that this software does not perform extensive error checking on its input files. if they're not in the format of the original bitmapped output from unihex2bmp, all bets are off. π like, genuinely. we warned you. π
and one more thing: if the output file is for a "page" containing space code points, and the bitmap file squares for those code points are not empty, unibmp2hex preserves the graphics as they are drawn. she doesn't clean up after you, she just leaves it exactly how you drew it. π
and that's the whole page, bestie!! π«Ά this one's from the General Commands Manual, dated 2007 Dec 31 β she's a lil vintage icon and we love her for it. mwah. πβ¨ππ¦πΈ
π¦ where this page comes from
- alpine 3.22: unifont-doc 16.0.03-r0 Β· GFDL-1.3-or-later GPL-2.0-or-later WITH Font-exception-2.0
- alpine 3.23: unifont-doc 17.0.03-r0 Β· GFDL-1.3-or-later GPL-2.0-or-later WITH Font-exception-2.0
- alpine 3.24: unifont-doc 17.0.04-r0 Β· GFDL-1.3-or-later GPL-2.0-or-later WITH Font-exception-2.0
- debian trixie: unifont-bin 1:15.1.01-1 Β· GPL-2.0-or-later
- fedora 43: unifont 16.0.01-6.fc43 Β· GPL-2.0-or-later AND OFL-1.1 AND GFDL-1.3-or-later
- fedora 44: unifont 16.0.01-7.fc44 Β· GPL-2.0-or-later AND OFL-1.1 AND GFDL-1.3-or-later
- nixpkgs unstable: unifont 18.0.01
- ubuntu noble: unifont-bin 1:15.1.01-1build1 Β· GPL-2.0-or-later
- ubuntu questing: unifont-bin 1:16.0.04-1
- ubuntu resolute: unifont-bin 1:16.0.04-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: unifont-bin 1:16.0.04-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms