LERP(9.1)                                               LERP(9.1)

     NAME
          lerp - linear combinations of images

     SYNOPSIS
          fb/lerp file fraction ... [ file ]

     DESCRIPTION
          Lerp computes a linear combination of a number of input
          images.  Each input file name is followed by a floating-
          point fraction by which to scale its pixel values.  The
          fraction after the last image may be omitted, in which case
          one minus the sum of the other fractions is used.  The
          result image is written to standard output.

          Nothing prevents the fractions from being smaller than zero
          or larger than one.  Output pixel values that fall below
          zero or above 255 are clamped.

     SEE ALSO
          picfile(9.6)

     Page 1                       Plan 9            (printed 12/22/24)