1
2
3genpng(1)                        User Manuals                        genpng(1)
4
5
6

NAME

8       genpng - Generate an overview image from a source file
9

SYNOPSIS

11       genpng [-h|--help] [-v|--version]
12              [-t|--tab-size tabsize] [-w|--width width] [-d|--dark-mode]
13              [-o|--output-filename output-filename]
14              source-file
15

DESCRIPTION

17       genpng creates an overview image for a given source code file of either
18       plain text or .gcov file format.
19
20       Note that the GD.pm Perl module has to be installed for this script  to
21       work (it may be obtained from http://www.cpan.org).
22
23       Note  also  that  genpng is called from within genhtml so that there is
24       usually no need to call it directly.
25
26

OPTIONS

28       -h
29       --help
30              Print a short help text, then exit.
31
32       -v
33       --version
34              Print version number, then exit.
35
36       -t tab-size
37       --tab-size tab-size
38              Use tab-size spaces in place of tab.
39
40              All occurrences of tabulator signs in the source code file  will
41              be replaced by the number of spaces defined by tab-size (default
42              is 4).
43
44       -w width
45       --width width
46              Set width of output image to width pixel.
47
48              The resulting image will be exactly width pixel wide (default is
49              80).
50
51              Note  that source code lines which are longer than width will be
52              truncated.
53
54       -d
55       --dark-mode
56              Use a light-display-on-dark-background color scheme rather  than
57              the default dark-display-on-light-background.
58
59       -o filename
60       --output-filename filename
61              Write image to filename.
62
63              Specify  a  name  for  the  resulting  image  file  (default  is
64              source-file.png).
65

AUTHOR

67       Peter Oberparleiter <Peter.Oberparleiter@de.ibm.com>
68
69

SEE ALSO

71       lcov(1), genhtml(1), geninfo(1), gendesc(1), gcov(1)
72
73       https://github.com/linux-test-project/lcov
74
75
76
772023-11-27                         LCOV 2.0                          genpng(1)
Impressum