GENPNG(1)
π GENPNG(1) β genpng documentation β¨
okay bestie, so this is genpng from the LCOV 2.0 manual group, manual section 1, dated 2026-10-03. She's an internal tool, she's lowkey iconic, and here's literally everything you need to know π«Ά
πΈ NAME πΈ
genpng β Generate an overview image from a source file (internal tool)
π real talk: the original page has a duplicate NAME block up top. First one just says "genpng - genpng documentation" (lol), and the second one is the actual description above. Both vibes preserved, no info lost π
β¨ SYNOPSIS β¨
genpng [ -h | --help ]
[ -v | --version ]
[ -t | --tab-size tabsize ]
[ -w | --width width ]
[ -d | --dark-mode ]
[ -o | --output-filename output-filename ]
source-file
π DESCRIPTION π
so genpng creates an overview image for a given source code file β and that file can be either plain text or .gcov format. either way, she serves π
β οΈ heads up bestie: the GD.pm Perl module has to be installed for this script to work (you can get it from <http://www.cpan.org>). no GD.pm, no image, periodt π
also note β genpng is called from within genhtml, so there's usually no need to call it directly. she's a behind-the-scenes main character, iykyk π
π¦ OPTIONS π¦
-h,--helpβ Print a short help text, then exit. tiny lil assist, then she's out πͺ-v,--versionβ Print version number, then exit. just the digits, no small talk βοΈ- *
-t*tab-size,--tab-sizetab-size β Use tab-size spaces in place of tab. every single tabulator sign in the source code file gets replaced by the number of spaces defined by tab-size (default is4). so like, 4 spaces per tab unless you say otherwise π§ - *
-w*width,--widthwidth β Set width of output image to width pixel. the resulting image will be exactly width pixel wide (default is80).
π careful: source code lines which are longer than width will be truncated. she will literally cut them off, no cap π
-d,--dark-modeβ Use a light-display-on-dark-background color scheme rather than the default dark-display-on-light-background. yes she has a dark mode, we love a queen who respects the aesthetic π- *
-o*filename,--output-filenamefilename β Write image to filename. specify a name for the resulting image file (default issource-file.png). name her whatever you want, she'll slay either way π
π AUTHOR π
Peter Oberparleiter <<Peter.Oberparleiter@de.ibm.com>>
π SEE ALSO π
lcov(1)<file://../man/lcov.1.html>genhtml(1)<file://../man/genhtml.1.html>geninfo(1)<file://../man/geninfo.1.html>gendesc(1)<file://../man/gendesc.1.html>gcov(1)<file://../man/gcov.1.html>- <https://github.com/linux-test-project/lcov>
π Copyright π
2024-2026, LCOV Project
okay that's the whole page, you ate that π«Ά one last cute lil sign-off: this was version 2.6, dated 2026-10-03 β genpng edition, GENPNG(1) forever, mwah πβ¨
π¦ where this page comes from
- arch rolling: lcov 2.6-1 Β· GPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms