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>
pull/23/head
Juri Dispan 2023-12-17 17:28:38 +01:00 committed by GitHub
parent 45fde32689
commit dfa023251c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View 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}}`

View 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}}`