pnmcurve - apply tone curves to pnm images

Screenshot

pnmcurvedit

Description

pnmcurve applies tone curves to pnm images. Curves are specified as a set of control points of a cubic spline. pnmcurve applies the resulting spline curve to the pnm image read from stdin and writes the resulting image to stdout. Command line switches allow to apply the curve only to selected color channels. By default pnmcurve applies the curve to all color channels.

The tarball also contains a graphical spline curve editor pnmcurvedit based on the fltk toolkit to create and manipulate tone curves.

pnmcurve can be used standalone, but is mainly meant to be used with flimp.

Example

pnmcurve -c 0.0:0.0,0.5:0.2,1.0:1.0 < test.pnm > darker.pnm

Download

pnmcurve-0.0.5.tar.gz sha256 2b4bdec1f2927d45ae37c09597b4845fbbfc160b1f5fb508313d8c52b3d8b002

Source Repository

A git repository can be found here.