pbmtext
renders text as a PBM bitmap image
TLDR
Create text image
$ pbmtext "[Hello World]" > [output.pbm]
Create with specific font$ pbmtext -font [fixed] "[Hello]" > [output.pbm]
Create with built-in font$ pbmtext -builtin [fixed] "[Hello]" > [output.pbm]
SYNOPSIS
pbmtext [options] [text]
DESCRIPTION
pbmtext renders text as a PBM bitmap image. Part of Netpbm toolkit for creating text graphics. Supports BDF fonts and built-in fonts.
PARAMETERS
-font file
BDF font file.-builtin name
Built-in font (fixed, bdf).-space pixels
Space between characters.-lspace pixels
Line spacing.-nomargins
No margins around text.
INSTALL
sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm
