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
44       input  Bitmap  Graphics  file  is 544 by 560 pixels, unibmpbump assumes
45       that the file was originally a Portable Network Graphics (".png")  file
46       created 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),   hex2sfd(1),  hexbraille(1),  hexdraw(1),
74       hexkinya(1), hexmerge(1), johab2ucs2(1), unibdf2hex(1),  unibmp2hex(1),
75       unicoverage(1),    unidup(1),   unifont(5),   unifont-viewer(1),   uni‐
76       font1per(1), unifontchojung(1), unifontksx(1),  unifontpic(1),  unigen‐
77       circles(1),   unigenwidth(1),   unihex2bmp(1),  unihex2png(1),  unihex‐
78       fill(1), unihexgen(1), unihexrotate(1), unipagecount(1), unipng2hex(1)
79

AUTHOR

81       unibmpbump was written by Paul Hardy.
82

LICENSE

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

BUGS

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