ppmrelief
Apply embossed relief effect to images
TLDR
Create embossed relief effect
$ ppmrelief [input.ppm] > [output.ppm]
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
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm
CAVEATS
Simple convolution filter. Part of Netpbm suite.
HISTORY
ppmrelief was created as part of Netpbm for relief effect generation.
