SYNTAX

    genbmp [options] <file_name> <text> ...


OPTIONS

-h (--help) bool

Display help.

-f (--foreground-color) uint

The color (in 32 bit RGB format) to render the text in. Defaults to white (0xffffff).

-b (--background-color) uint

The color (in 32 bit RGB format) to render the background behind the text in. Defaults to black (0x000000).

-w (--width) int

The width (in pixels) of the bitmap to be created. Defaults to 150.

-H (--height) int

The height (in pixels) of the bitmap to be created. Defaults to 150.

-t (--typeface) string

The name of the typeface to render the text with. Defaults to 'Arial'.

-m (--max-font-height) int

The maximum height of the font to use in pixels. Defaults to 15.

-g (--gap) int

The gap (in pixels) between the text and the bitmap edge and also between each line of text. Defaults to 10.


ARGUMENTS

<file_name>

The name of the bitmap file generate. [filename]

<text>

The text to be rendered into the bitmap. For multiple lines, enclose the text for each line in quotes. Can be specified more than once. [string(s)]


DESCRIPTION

Generates simple bitmap files that contain text.


COPYRIGHT

Copyright (c) 2009-2010 Accenture. All rights reserved.