LinuxCommandLibrary

pbmtext

renders text as a PBM bitmap image

TLDR

Create text image

$ pbmtext "[Hello World]" > [output.pbm]
copy
Create with specific font
$ pbmtext -font [fixed] "[Hello]" > [output.pbm]
copy
Create with built-in font
$ pbmtext -builtin [fixed] "[Hello]" > [output.pbm]
copy

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.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community