Copyright(c) 2019-2022 Alexey Kuryakin kouriakine@mail.ru under MIT.
ledbmp v 1.2 is the tool to create LED BMP (bitmaps for text fields)
with given text width, font size, color depth, fill color, font name
Usage:
 ledbmp [-o] [w s d c f a t]  - create bitmap field for text
 with specified options [-o] and/or next parameters:
  w - required text width in chars
  s - required font size in pt units; by default 10pt
  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 "ledbmp --colors"  to print list of known named colors;
      by default uses color White = $FFFFFF
  f - font name; by default "PT Mono"
  a - caption text string; optional
  t - text color; optional
 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 --text-width=W    - set text width W, chars
  -s --font-size=S     - set font size S, pt units
  -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
  -f --font-name=F     - set font name F
  -o --out-file=O      - set output file name O
  -x --x-space=X       - set horizontal space X
  -y --y-space=Y       - set vertical space Y
  -a --caption=A       - set caption text A
  -t --text-color=T    - set text color T
  -b --bold            - use bold font
  -i --italic          - use italic font
  -u --underline       - use underline font
Example:
 ledbmp 7 10 8 Aqua "PT Mono"
 ledbmp -w7 -s10 -d8 -cAqua -f"PT Mono"
 ledbmp --text-width=7 --font-size=10 --color-depth=8 --fill-color=Aqua --font-name="PT Mono"
 - creates bitmap file ledbmp_7_10_8_aqua_ptmono.bmp