← 返回命令列表

Linux command

pnmtofiasco 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Convert PNM to FIASCO format

pnmtofiasco [input.pnm] -o [output.fco]

Specify quality

pnmtofiasco -q [50] [input.pnm] -o [output.fco]

Set optimization level

pnmtofiasco -z [2] [input.pnm] -o [output.fco]

Verbose

pnmtofiasco -V [2] [input.pnm] -o [output.fco]

说明

pnmtofiasco compresses PBM, PGM, or PPM images, or Standard Input if no file is named, and produces a FIASCO (Fractal Image And Sequence COdec) file on Standard Output. FIASCO uses fractal and wavelet-based compression. Part of the Netpbm toolkit.

参数

-o, --output-name=_file_
Write FIASCO output to named file. Default is Standard Output.
-q, --quality=_N_
Quality of compression (1=worst, 100=best). Default is 20.
-z, --optimize=_N_
Optimization level (0=fastest, 3=slowest). Default is 0.
-b, --basis-name=_name_
Preload compression basis (e.g., small.fco, medium.fco, large.fco).
-V, --verbose=_N_
Verbosity level: 0 (no output), 1 (progress meter), 2 (detailed statistics). Default is 1.
-v, --version
Print version number and exit.
-h, --info
Print brief help.
-P, --prediction
Enable predictive coding for video sequences.

FAQ

What is the pnmtofiasco command used for?

pnmtofiasco compresses PBM, PGM, or PPM images, or Standard Input if no file is named, and produces a FIASCO (Fractal Image And Sequence COdec) file on Standard Output. FIASCO uses fractal and wavelet-based compression. Part of the Netpbm toolkit.

How do I run a basic pnmtofiasco example?

Run `pnmtofiasco [input.pnm] -o [output.fco]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -o, --output-name=_file_ do in pnmtofiasco?

Write FIASCO output to named file. Default is Standard Output.