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

NAME

6       unibmpbump - adjust a .bmp image for unibmp2hex processing
7

SYNOPSIS

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

DESCRIPTION

13       unibmpbump reads a Microsoft Bitmap Graphics  (".bmp")  graphics  image
14       file  and,  if it appears to be in a known format, converts it for pro‐
15       cessing by unibmp2hex(1).
16
17       unibmpbump supports  the  following  Device  Independent  Bitmap  (DIB)
18       header byte lengths for input image files:
19
20              12    The BITMAPCOREHEADER format.  This was the original Micro‐
21                    soft Windows header format.  It has not  been  encoutered,
22                    and  was added only as a subset of the formats that appear
23                    below.
24
25              40    The BITMAPINFOHEADER format.  This is the format that most
26                    graphics creation programs support, and is the header for‐
27                    mat that unibmp2hex expects.
28
29              108   The BITMAPV4HEADER format.  This is the  format  that  the
30                    Image Magick convert program creates when converting a PNG
31                    image to a BMP image using the "-monochrome" option.
32
33              124   The BITMAPV5HEADER format.  This is the  format  that  the
34                    Image Magick convert program creates when converting a PNG
35                    image to a BMP image  without  the  "-monochrome"  option;
36                    convert  will encode the image as a "grayscale" image, but
37                    with only two colors: black and white.
38
39       unibmpbump is able to read files created by unihex2png that were subse‐
40       quently  saved  as  BMP  files,  for example by the convert(1) program,
41       which is part of the Image Magick  package.   Images  created  by  uni‐
42       hex2png(1)  are  544  rows high by 560 columns wide.  Images created by
43       unihex2bmp(1) are 544 rows high by 576 columns wide.  Thus, if the  in‐
44       put  Bitmap Graphics file is 544 by 560 pixels, unibmpbump assumes that
45       the file was originally a Portable Network Graphics (".png") file  cre‐
46       ated  by  unihex2png  and realigns the glyphs so they are positioned as
47       unibmp2hex expects.
48

OPTIONS

50       -i    Specify an input Bitmaps Graphics (".bmp")  file.   If  no  input
51             file  is  specified,  input  is taken from stdin.  The input file
52             must be either 544 rows by 560 columns (for  a  file  created  by
53             unihex2png  originally)  or  544  rows by 576 columns (for a file
54             created by unihex2bmp originally).
55
56       -o    Specify an output Bitmaps Graphics (".bmp") file.  If  no  output
57             file  is  specified,  output  is sent to stdout.  The output file
58             will be 544 rows high by 576 columns wide with a 40  byte  Device
59             Independent  Bitmap  (DIB)  header,  which  is  the  format  that
60             unibmp2hex expects.
61
62       -v, --verbose
63             Verbose output.   Print  information  about  the  input  file  on
64             stderr.
65
66       -V, --version
67             Print the version of unibmpbump and exit.
68

FILES

70       Bitmap Graphics (".bmp") input and output files.
71

SEE ALSO

73       bdfimplode(1),  hex2bdf(1), hex2otf(1), hex2sfd(1), hexbraille(1), hex‐
74       draw(1),  hexkinya(1),   hexmerge(1),   johab2ucs2(1),   unibdf2hex(1),
75       unibmp2hex(1),    unicoverage(1),   unidup(1),   unifont(5),   unifont-
76       viewer(1), unifont1per(1), unifontchojung(1),  unifontksx(1),  unifont‐
77       pic(1), unigencircles(1), unigenwidth(1), unihex2bmp(1), unihex2png(1),
78       unihexfill(1),    unihexgen(1),    unihexrotate(1),    unipagecount(1),
79       unipng2hex(1)
80

AUTHOR

82       unibmpbump was written by Paul Hardy.
83

LICENSE

85       unibmpbump is Copyright © 2019 Paul Hardy.
86
87       This program is free software; you can redistribute it and/or modify it
88       under the terms of the GNU General Public License as published  by  the
89       Free  Software Foundation; either version 2 of the License, or (at your
90       option) any later version.
91

BUGS

93       No known bugs exist.
94
95
96
97                                  2019 Mar 2                     UNIBMPBUMP(1)
Impressum