Files
tldr/pages.zh/common/ppmfade.md

20 lines
822 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ppmfade
> 生成两个PPM图像之间的过渡效果。
> 更多信息:<https://netpbm.sourceforge.net/doc/ppmfade.html>。
- 使用指定效果生成两个PPM图像[f]irst和[l]ast之间的过渡
`ppmfade -f {{path/to/image1.ppm}} -l {{path/to/image2.ppm}} -{{mix|spread|shift|relief|oil|...}}`
- 生成一个以指定图像开始并以纯黑图像结束的过渡:
`ppmfade -f {{path/to/image.ppm}} -{{mix|spread|shift|relief|oil|...}}`
- 生成一个以纯黑图像开始并以指定图像结束的过渡:
`ppmfade -l {{path/to/image.ppm}} -{{mix|spread|shift|relief|oil|...}}`
- 将生成的图像存储在名为 `base.NNNN.ppm` 的文件中,其中 `NNNN` 是递增的数字:
`ppmfade -f {{path/to/image1.ppm}} -l {{path/to/image2.ppm}} -{{mix|spread|shift|relief|oil|...}} -base {{base}}`