1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 20:55:24 +02:00
tldr/pages/common/pnmtofiasco.md

21 lines
693 B
Markdown
Raw Normal View History

# pnmtofiasco
> Convert a PNM image to a compressed FIASCO file.
> More information: <https://netpbm.sourceforge.net/doc/pnmtofiasco.html>.
- Convert a PNM image to a compressed FIASCO file:
`pnmtofiasco {{path/to/file.pnm}} > {{path/to/file.fiasco}}`
- Specify the input files through a pattern:
`pnmtofiasco {{[-i|--image-name]}} "{{img[01-09+1].pnm}}" > {{path/to/file.fiasco}}`
- Specify the compression quality:
`pnmtofiasco {{[-q|--quality]}} {{quality_level}} {{path/to/file.pnm}} > {{path/to/file.fiasco}}`
- Load the options to be used from the specified configuration file:
`pnmtofiasco {{[-f|--config]}} {{path/to/fiascorc}} {{path/to/file.pnm}} > {{path/to/file.fiasco}}`