LinuxCommandLibrary

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.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community