mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
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>
This commit is contained in:
parent
45fde32689
commit
dfa023251c
2 changed files with 44 additions and 0 deletions
24
pages/common/fiascotopnm.md
Normal file
24
pages/common/fiascotopnm.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# fiascotopnm
|
||||
|
||||
> Convert a compressed FIASCO file to a PNM image.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/fiascotopnm.html>.
|
||||
|
||||
- Convert a compressed FIASCO file to a PNM file or in the case of video streams multiple PNM files:
|
||||
|
||||
`fiascotopnm {{path/to/file.fiasco}} -o {{output_file_basename}}`
|
||||
|
||||
- Use fast decompression, resulting in a slightly decreased quality of the output file(s):
|
||||
|
||||
`fiascotopnm --fast {{path/to/file.fiasco}} -o {{output_file_basename}}`
|
||||
|
||||
- Load the options to be used from the specified configuration file:
|
||||
|
||||
`fiascotopnm --config {{path/to/fiascorc}} {{path/to/file.fiasco}} -o {{output_file_basename}}`
|
||||
|
||||
- Magnify the decompressed image(s) by a factor of 2^n:
|
||||
|
||||
`fiascotopnm --magnify {{n}} {{path/to/file.fiasco}} -o {{output_file_basename}}`
|
||||
|
||||
- Smooth the decompressed image by the specified amount:
|
||||
|
||||
`fiascotopnm --smooth {{n}} {{path/to/file.fiasco}} -o {{output_file_basename}}`
|
20
pages/common/pnmtofiasco.md
Normal file
20
pages/common/pnmtofiasco.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue