logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

genpng - Generate an overview image from a source file

Author

       Peter Oberparleiter <Peter.Oberparleiter@de.ibm.com>

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.

Name

       genpng - Generate an overview image from a source file

Options

-h--help
              Print a short help text, then exit.

       -v--version
              Print version number, then exit.

       -ttab-size--tab-sizetab-size
              Use tab-size spaces in place of tab.

              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).

       -wwidth--widthwidth
              Set width of output image to width pixel.

              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
              Use a light-display-on-dark-background color scheme rather than the default dark-display-on-light-
              background.

       -ofilename--output-filenamefilename
              Write image to filename.

              Specify a name for the resulting image file (default is source-file.png).

See Also

lcov(1), genhtml(1), geninfo(1), gendesc(1), gcov(1)

       https://github.com/linux-test-project/lcov

2025-01-17                                          LCOV 2.0                                           genpng(1)

Synopsis

genpng [-h|--help] [-v|--version]
              [-t|--tab-sizetabsize] [-w|--widthwidth] [-d|--dark-mode]
              [-o|--output-filenameoutput-filename]
              source-file

See Also