genpng(1) | User Manuals | genpng(1) |
NAME¶
genpng - Generate an overview image from a source file
SYNOPSIS¶
genpng [-h|--help] [-v|--version]
[-t|--tab-size tabsize] [-w|--width width] [-d|--dark-mode]
[-o|--output-filename output-filename]
source-file
DESCRIPTION¶
genpng creates an overview image for a given source code file of either plain text or .gcov file format.
Note that the GD.pm Perl module has to be installed for this script to work (it may be obtained from http://www.cpan.org).
Note also that genpng is called from within genhtml so that there is usually no need to call it directly.
OPTIONS¶
-h
--help
-v
--version
-t tab-size
--tab-size tab-size
All occurrences of tabulator signs in the source code file will be replaced by the number of spaces defined by tab-size (default is 4).
-w width
--width width
The resulting image will be exactly width pixel wide (default is 80).
Note that source code lines which are longer than width will be truncated.
-d
--dark-mode
-o filename
--output-filename filename
Specify a name for the resulting image file (default is source-file.png).
AUTHOR¶
Peter Oberparleiter <Peter.Oberparleiter@de.ibm.com>
SEE ALSO¶
LCOV 2.1 | 2024-07-16 |