Copyright(c) 2019-2022 Alexey Kuryakin kouriakine@mail.ru under MIT.
barbmp v 1.1 is the tool to make BAR BMP (filled rectangle bitmaps).
with given bar pixel width, height, color depth, fill color.
Usage:
barbmp [-o] [w h d c] - create specified bar bitmap
with specified options [-o] and/or next parameters:
w - required bar width in pixels
h - required bar height in pixels
d - required color depth: {1,4,8,15,16,24} bit; by default 24 bit
c - required fill color, RGB number as hex $BBGGRR or named color
call "barbmp --colors" to print list of known named colors;
by default uses color White = $FFFFFF
Options may have two equivalent forms: short and long
-oX (short) and --option=X (long) with argument X
Options are:
-h --help - print help
-v --verbose - set verbose mode to view details
-q --quiet - set quiet (silent) mode to skip printing
--colors - print list of colors from X11,HTML,Win32
- in format Name = $Value ($BBGGRR hex RGB)
-w --bar-width=W - set bar width W, pixels
-h --bar-height=H - set bar height H, pixels
-d --color-depth=D - set color depth D: {1,4,8,15,16,24} bit
-c --fill-color=C - set fill color number or name C
-o --out-file=O - set output file name O
Example:
barbmp 100 15 8 Aqua
barbmp -w100 -h15 -d8 -cAqua
barbmp --bar-width=100 --bar-height=15 --color-depth=8 --fill-color=Aqua
- creates bitmap file barbmp_100_15_8_aqua.bmp