LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pgmenhance

Edge-enhance a PGM grayscale image

TLDR

Enhance image sharpness with default intensity (9)
$ pgmenhance [input.pgm] > [output.pgm]
copy
Enhance with custom intensity (1 = lowest, 9 = highest)
$ pgmenhance -[3] [input.pgm] > [output.pgm]
copy
Read from stdin
$ cat [input.pgm] | pgmenhance -[5] > [output.pgm]
copy

SYNOPSIS

pgmenhance [-N] [pgmfile]

DESCRIPTION

pgmenhance reads a PGM image as input, enhances the edges, and writes a PGM image as output. The enhancement technique is derived from Philip R. Thompson's xim program. Part of the Netpbm toolkit.

PARAMETERS

- N

Enhancement intensity from 1 (lowest) to 9 (highest). Default is 9.

SEE ALSO

pgmnorm(1), pgmedge(1), pamedge(1)

Copied to clipboard
Kai