pamtowinicon, pgmtosbig, pgmtost4, ppmtowinicon, sbigtopgm, st4topgm, winicontopam, winicontoppm: add pages (#11404)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
16
pages/common/pamtowinicon.md
Normal file
16
pages/common/pamtowinicon.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# pamtowinicon
|
||||
|
||||
> Convert a PAM image to a Windows ICO file.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pamtowinicon.html>.
|
||||
|
||||
- Convert a PAM image file to an ICO file:
|
||||
|
||||
`pamtowinicon {{path/to/input_file.pam}} > {{path/to/output.ico}}`
|
||||
|
||||
- Encode images with resolutions smaller than t in the BMP format and all other images in the PNG format:
|
||||
|
||||
`pamtowinicon -pngthreshold {{t}} {{path/to/input_file.pam}} > {{path/to/output.ico}}`
|
||||
|
||||
- Make all pixels outside the non-opaque area black:
|
||||
|
||||
`pamtowinicon -truetransparent {{path/to/input_file.pam}} > {{path/to/output.ico}}`
|
8
pages/common/pgmtosbig.md
Normal file
8
pages/common/pgmtosbig.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# pgmtosbig
|
||||
|
||||
> Convert a PGM image to the SBIG CCDOPS format.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pgmtosbig.html>.
|
||||
|
||||
- Convert a PGM image file to the SBIG CCDOPS format:
|
||||
|
||||
`pgmtosbig {{path/to/input_file.pgm}} > {{path/to/output.sbig}}`
|
8
pages/common/pgmtost4.md
Normal file
8
pages/common/pgmtost4.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# pgmtost4
|
||||
|
||||
> Convert a PGM image to the SBIG ST-4 format.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pgmtost4.html>.
|
||||
|
||||
- Convert a PGM image file to the SBIG ST-4 format:
|
||||
|
||||
`pgmtost4 {{path/to/input_file.pgm}} > {{path/to/output.st4}}`
|
8
pages/common/ppmtowinicon.md
Normal file
8
pages/common/ppmtowinicon.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# ppmtowinicon
|
||||
|
||||
> This command is superseded by `pamtowinicon`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/ppmtowinicon.html>.
|
||||
|
||||
- View documentation for the current command:
|
||||
|
||||
`tldr pamtowinicon`
|
8
pages/common/sbigtopgm.md
Normal file
8
pages/common/sbigtopgm.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# sbigtopgm
|
||||
|
||||
> Convert an SBIG CCDOPS file to PGM.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/sbigtopgm.html>.
|
||||
|
||||
- Convert an SBIG CCDOPS image file to PGM:
|
||||
|
||||
`sbigtopgm {{path/to/input_file.sbig}} > {{path/to/output.pgm}}`
|
8
pages/common/st4topgm.md
Normal file
8
pages/common/st4topgm.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# st4topgm
|
||||
|
||||
> Convert an SBIG ST-4 file to PGM.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/st4topgm.html>.
|
||||
|
||||
- Convert an SBIG ST-4 file to a PGM file:
|
||||
|
||||
`st4topgm {{path/to/input_file.st4}} > {{path/to/output.pgm}}`
|
20
pages/common/winicontopam.md
Normal file
20
pages/common/winicontopam.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# winicontopam
|
||||
|
||||
> Convert a Windows ICO file to a PAM file.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/winicontopam.html>.
|
||||
|
||||
- Read an ICO file and convert the best quality image contained therein to the PAM format:
|
||||
|
||||
`winicontopam {{path/to/input_file.ico}} > {{path/to/output.pam}}`
|
||||
|
||||
- Convert all images in the input file to PAM:
|
||||
|
||||
`winicontopam -allimages {{path/to/input_file.ico}} > {{path/to/output.pam}}`
|
||||
|
||||
- Convert the n'th image in the input file to PAM:
|
||||
|
||||
`winicontopam -image {{n}} {{path/to/input_file.ico}} > {{path/to/output.pam}}`
|
||||
|
||||
- If the image(s) to be extracted contain graded transparency data and an AND mask, write the AND mask into the fifth channel of the output PAM file:
|
||||
|
||||
`winicontopam -andmasks {{path/to/input_file.ico}} > {{path/to/output.pam}}`
|
8
pages/common/winicontoppm.md
Normal file
8
pages/common/winicontoppm.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# winicontoppm
|
||||
|
||||
> This command is superseded by `winicontopam`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/winicontoppm.html>.
|
||||
|
||||
- View documentation for the current command:
|
||||
|
||||
`tldr winicontopam`
|
Reference in New Issue
Block a user