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

20 lines
667 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.

# ppmtoilbm
> 将PPM图像转换为ILBM文件。
> 更多信息:<https://netpbm.sourceforge.net/doc/ppmtoilbm.html>。
- 将PPM图像转换为ILBM文件
`ppmtoilbm {{path/to/file.ppm}} > {{path/to/file.ilbm}}`
- 向ILBM文件写入最多n个平面并在超过此数量时生成HAM/24位/直接颜色文件:
`ppmtoilbm -maxplanes {{n}} -{{hamif|24if|dcif}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}`
- 生成具有确切n个平面的ILBM文件
`ppmtoilbm -fixplanes {{n}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}`
- 选择要使用的压缩方法:
`ppmtoilbm -{{compress|nocompress|savemem}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}`