mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 01:43:17 +00:00
26 lines
761 B
Plaintext
26 lines
761 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|