UNIBMPBUMP(1)

πŸ“¦
version 17.0.04 Β· 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, debian trixie, fedora 43, fedora 44, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– UNIBMPBUMP πŸ’–

okay bestie, so unibmpbump is a little command in the General Commands Manual and it is literally the glow-up station for .bmp files before they go get processed. she's humble but she's essential 🫢


✨ NAME ✨

unibmpbump β€” adjust a .bmp image for unibmp2hex processing πŸ’…


🌸 SYNOPSIS 🌸

unibmpbump [-iinput-file.bmp] [-ooutput-file.bmp] [-v|--verbose]
[-V|--version]

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea β˜• unibmpbump reads a Microsoft Bitmap Graphics (.bmp) graphics image file and, if it looks like it's in a known format, converts it for processing by unibmp2hex(1). it's giving translator, it's giving middleware, and honestly? iconic.

unibmpbump supports these Device Independent Bitmap (DIB) header byte lengths for input image files, no cap:

  • 12 β€” the BITMAPCOREHEADER format. this was the original Microsoft Windows header format, like the vintage one πŸŽ€. it has not been encountered, and was added only as a subset of the formats that appear below.
  • 40 β€” the BITMAPINFOHEADER format. this is the format that most graphics creation programs support, and it's the header format that unibmp2hex expects. she's the main character fr fr πŸ‘‘
  • 108 β€” the BITMAPV4HEADER format. this is the format that the Image Magick convert program creates when converting a PNG image to a BMP image using the -monochrome option.
  • 124 β€” the BITMAPV5HEADER format. this is the format that the Image Magick convert program creates when converting a PNG image to a BMP image without the -monochrome option; convert will encode the image as a grayscale image, but with only two colors: black and white. πŸ’€ monochrome jump scare

unibmpbump is able to read files created by unihex2png that were subsequently saved as BMP files, for example by the convert(1) program, which is part of the Image Magick package. Images created by unihex2png(1) are 544 rows high by 560 columns wide. Images created by unihex2bmp(1) are 544 rows high by 576 columns wide. so if the input Bitmap Graphics file is 544 by 560 pixels, unibmpbump assumes that the file was originally a Portable Network Graphics (.png) file created by unihex2png and realigns the glyphs so they are positioned as unibmp2hex expects. bestie she knows by the dimensions. detective behaviour πŸ”βœ¨


πŸ’… OPTIONS πŸ’…

  • -i β€” specify an input Bitmaps Graphics (.bmp) file. if no input file is specified, input is taken from stdin. the input file must be either 544 rows by 560 columns (for a file created by unihex2png originally) or 544 rows by 576 columns (for a file created by unihex2bmp originally). pick one, she's not flexible about it πŸŽ€
  • -o β€” specify an output Bitmaps Graphics (.bmp) file. if no output file is specified, output is sent to stdout. the output file will be 544 rows high by 576 columns wide with a 40 byte Device Independent Bitmap (DIB) header, which is the format that unibmp2hex expects. she always delivers in the right format, periodt πŸ’–
  • -v, --verbose β€” verbose output. print information about the input file on stderr. she will yap (affectionately) 🌈
  • -V, --version β€” print the version of unibmpbump and exit. bye bestie πŸ‘‹

πŸŽ€ FILES πŸŽ€

Bitmap Graphics (.bmp) input and output files.


🌈 SEE ALSO 🌈

bdfimplode(1), hex2bdf(1), hex2otf(1), hex2sfd(1), hexbraille(1), hexdraw(1), hexkinya(1), hexmerge(1), johab2syllables(1), johab2ucs2(1), unibdf2hex(1), unibmp2hex(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)

like the whole friend group is here, we love a squad πŸ’œ


🫢 AUTHOR 🫢

unibmpbump was written by Paul Hardy. king behaviour πŸ‘‘


πŸ“œ LICENSE πŸ“œ

unibmpbump is Copyright Β© 2019 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.

(free software bestie, go off πŸŽ€)


πŸ› BUGS πŸ›

No known bugs exist. not a single one. she's flawless, she's clean, she's that girl βœ¨πŸ’…


and that's the whole page! this one's from the General Commands Manual, dated 2019 Mar 2 β€” shoutout to that era, and yeah, that's the source and version info, we're all caught up πŸ¦‹πŸ’–

πŸ“¦ where this page comes from