1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/pnmtofiasco.md
Juri Dispan dfa023251c
fiascotopnm, pnmtofiasco: add pages (#11752)
* fiascotopnm, pnmtofiasco: add pages

* Apply suggestions from code review

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* Update pages/common/pnmtofiasco.md

Co-authored-by: pixel häußler <pixel+github@chrissx.de>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: pixel häußler <pixel+github@chrissx.de>
2023-12-17 17:28:38 +01:00

20 lines
668 B
Markdown

# 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 [i]nput files through a pattern:
`pnmtofiasco --image-name "{{img[01-09+1].pnm}}" > {{path/to/file.fiasco}}`
- Specify the compression quality:
`pnmtofiasco --quality {{quality_level}} {{path/to/file.pnm}} > {{path/to/file.fiasco}}`
- Load the options to be used from the specified configuration file:
`pnmtofiasco --config {{path/to/fiascorc}} {{path/to/file.pnm}} > {{path/to/file.fiasco}}`