LinuxCommandLibrary

ppmlabel

Add text labels to PPM images

TLDR

Add text label to image

$ ppmlabel -text "[Hello World]" [input.ppm] > [output.ppm]
copy
Add label at position
$ ppmlabel -x [10] -y [20] -text "[Label]" [input.ppm] > [output.ppm]
copy
Add label with color
$ ppmlabel -color [white] -text "[Label]" [input.ppm] > [output.ppm]
copy

SYNOPSIS

ppmlabel [options] [file]

DESCRIPTION

ppmlabel adds text labels to PPM images. Part of Netpbm toolkit. Useful for annotating images with captions or watermarks.

PARAMETERS

-text string

Text to add.
-x pixels
X position.
-y pixels
Y position.
-color color
Text color.
-background color
Background color.
-angle degrees
Rotation angle.
-size pixels
Font size.

SEE ALSO

pbmtext(1), pnmcomp(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community