LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ppmrelief

Apply embossed relief effect to images

TLDR

Create embossed relief effect
$ ppmrelief [input.ppm] > [output.ppm]
copy

SYNOPSIS

ppmrelief [file]

DESCRIPTION

ppmrelief applies a convolution filter to a PPM image that creates an embossed relief effect, giving the image a three-dimensional chiseled appearance. Edges in the original image appear as raised ridges lit from one direction, while flat areas become a neutral gray.The effect works by computing the difference between adjacent pixels, which highlights edges while suppressing uniform regions. Part of the Netpbm toolkit.

PARAMETERS

FILE

Input PPM file.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

CAVEATS

Simple convolution filter. Part of Netpbm suite.

HISTORY

ppmrelief was created as part of Netpbm for relief effect generation.

SEE ALSO

ppm(5), pnmconvol(1), pgmedge(1), pnmsmooth(1)

Copied to clipboard
Kai