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-size tab-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 is 4). so like, 4 spaces per tab unless you say otherwise 🧚
  • *-w *width, --width width β€” Set width of output image to width pixel. the resulting image will be exactly width pixel wide (default is 80).
πŸ™ˆ 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-filename filename β€” Write image to filename. specify a name for the resulting image file (default is source-file.png). name her whatever you want, she'll slay either way πŸ’–

πŸ‘‘ AUTHOR πŸ‘‘

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


🌈 SEE ALSO 🌈


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