HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ppmfade — Generate a transition between two PPM images. More information: <https://netpbm.sourceforge.net/doc/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
ppmcommandbetweentwotransitionclippmfadegenerate

Problem

How to use the ppmfade command: Generate a transition between two PPM images. More information: <https://netpbm.sourceforge.net/doc/ppmfade.html>.

Solution

ppmfade — Generate a transition between two PPM images. More information: <https://netpbm.sourceforge.net/doc/ppmfade.html>.

Generate a transition between two PPM images ([f]irst and [l]ast) using the specified effect:
ppmfade -f {{path/to/image1.ppm}} -l {{path/to/image2.ppm}} -{{mix|spread|shift|relief|oil|...}}


Generate a transition starting with the specified image and ending in a solid black image:
ppmfade -f {{path/to/image.ppm}} -{{mix|spread|shift|relief|oil|...}}


Generate a transition starting with a solid black image and ending with the specified image:
ppmfade -l {{path/to/image.ppm}} -{{mix|spread|shift|relief|oil|...}}


Store the resulting images in files named base.NNNN.ppm where NNNN is a increasing number:
ppmfade -f {{path/to/image1.ppm}} -l {{path/to/image2.ppm}} -{{mix|spread|shift|relief|oil|...}} -base {{base}}

Code Snippets

Generate a transition between two PPM images ([f]irst and [l]ast) using the specified effect

ppmfade -f {{path/to/image1.ppm}} -l {{path/to/image2.ppm}} -{{mix|spread|shift|relief|oil|...}}

Generate a transition starting with the specified image and ending in a solid black image

ppmfade -f {{path/to/image.ppm}} -{{mix|spread|shift|relief|oil|...}}

Generate a transition starting with a solid black image and ending with the specified image

ppmfade -l {{path/to/image.ppm}} -{{mix|spread|shift|relief|oil|...}}

Store the resulting images in files named `base.NNNN.ppm` where `NNNN` is a increasing number

ppmfade -f {{path/to/image1.ppm}} -l {{path/to/image2.ppm}} -{{mix|spread|shift|relief|oil|...}} -base {{base}}

Context

tldr-pages: common/ppmfade

Revisions (0)

No revisions yet.