1genpng(1) User Manuals genpng(1)
2
3
4
6 genpng - Generate an overview image from a source file
7
9 genpng [-h|--help] [-v|--version]
10 [-t|--tab-size tabsize] [-w|--width width]
11 [-o|--output-filename output-filename]
12 source-file
13
15 genpng creates an overview image for a given source code file of either
16 plain text or .gcov file format.
17
18 Note that the GD.pm Perl module has to be installed for this script to
19 work (it may be obtained from http://www.cpan.org).
20
21 Note also that genpng is called from within genhtml so that there is
22 usually no need to call it directly.
23
24
26 -h
27 --help
28 Print a short help text, then exit.
29
30 -v
31 --version
32 Print version number, then exit.
33
34 -t tab-size
35 --tab-size tab-size
36 Use tab-size spaces in place of tab.
37
38 All occurrences of tabulator signs in the source code file will
39 be replaced by the number of spaces defined by tab-size (default
40 is 4).
41
42 -w width
43 --width width
44 Set width of output image to width pixel.
45
46 The resulting image will be exactly width pixel wide (default is
47 80).
48
49 Note that source code lines which are longer than width will be
50 truncated.
51
52
53 -o filename
54 --output-filename filename
55 Write image to filename.
56
57 Specify a name for the resulting image file (default is
58 source-file.png).
59
61 Peter Oberparleiter <Peter.Oberparleiter@de.ibm.com>
62
63
65 lcov(1), genhtml(1), geninfo(1), gendesc(1), gcov(1)
66
67
68
692020-07-28 LCOV 1.14 genpng(1)