ilbmtoppm, pcxtoppm, ppmtoilbm, ppmtoleaf, ppmtomitsu, ppmtompeg, ppmtoneo, ppmtopcx: add pages (#11432)

pull/23/head
Juri Dispan 2023-11-10 05:18:42 +01:00 committed by GitHub
parent c2a18714a5
commit 83d378125b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 120 additions and 0 deletions

20
pages/common/ilbmtoppm.md Normal file
View File

@ -0,0 +1,20 @@
# ilbmtoppm
> Convert an ILBM file to a PPM image.
> More information: <https://netpbm.sourceforge.net/doc/ilbmtoppm.html>.
- Convert an ILBM file to a PPM image:
`ilbmtoppm {{path/to/file.ilbm}} > {{path/to/file.ppm}}`
- Use the specified color to "show through" where the image is transparent:
`ilbmtoppm -transparent {{color}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`
- Ignore the chunk with the specified chunk ID:
`ilbmtoppm -ignore {{chunkID}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`
- Store the input's transparency information to the specified PBM file:
`ilbmtoppm -maskfile {{path/to/maskfile.pbm}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`

16
pages/common/pcxtoppm.md Normal file
View File

@ -0,0 +1,16 @@
# pcxtoppm
> Convert a PCX file to a PPM image.
> More information: <https://netpbm.sourceforge.net/doc/pcxtoppm.html>.
- Convert a PCX file to a PPM image:
`pcxtoppm {{path/to/file.pcx}} > {{path/to/file.ppm}}`
- Use a predefined standard palette even if the PCX file provides one:
`pcxtoppm -stdpalette {{path/to/file.pcx}} > {{path/to/file.ppm}}`
- Print information on the PCX header to `stdout`:
`pcxtoppm -verbose {{path/to/file.pcx}} > {{path/to/file.ppm}}`

20
pages/common/ppmtoilbm.md Normal file
View File

@ -0,0 +1,20 @@
# ppmtoilbm
> Convert a PPM image to an ILBM file.
> More information: <https://netpbm.sourceforge.net/doc/ppmtoilbm.html>.
- Convert a PPM image to an ILBM file:
`ppmtoilbm {{path/to/file.ppm}} > {{path/to/file.ilbm}}`
- Write a maximum of n planes to the ILBM file and produce a HAM/24bit/direct color file if this number is exceeded:
`ppmtoilbm -maxplanes {{n}} -{{hamif|24if|dcif}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}`
- Produce a ILBM file with exactly n planes:
`ppmtoilbm -fixplanes {{n}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}`
- Select the compression method to be used:
`ppmtoilbm -{{compress|nocompress|savemem}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}`

View File

@ -0,0 +1,8 @@
# ppmtoleaf
> Convert a PPM image to the Interleaf image format.
> More information: <https://netpbm.sourceforge.net/doc/ppmtoleaf.html>.
- Convert a PPM image to a LEAF file:
`ppmtoleaf {{path/to/file.ppm}} > {{path/to/file.leaf}}`

View File

@ -0,0 +1,16 @@
# ppmtomitsu
> Convert a PPM image to a Mitsubishi S340-10 file.
> More information: <https://netpbm.sourceforge.net/doc/ppmtomitsu.html>.
- Convert a PPM image to a MITSU file:
`ppmtomitsu {{path/to/file.ppm}} > {{path/to/file.mitsu}}`
- Enlarge the image by the specified factor, use the specified sharpness and produce n copies:
`ppmtomitsu -enlarge {{1|2|3}} -sharpness {{1|2|3|4}} -copy {{n}} {{path/to/file.ppm}} > {{path/to/file.mitsu}}`
- Specify the media that will be used for the printing process:
`ppmtomitsu -media {{A|A4|AS|A4S}} {{path/to/file.ppm}} > {{path/to/file.mitsu}}`

20
pages/common/ppmtompeg.md Normal file
View File

@ -0,0 +1,20 @@
# ppmtompeg
> Encode an MPEG-1 stream.
> More information: <https://netpbm.sourceforge.net/doc/ppmtompeg.html>.
- Produce an MPEG-1 stream using the parameter file to specify inputs and outputs:
`ppmtompeg {{path/to/parameter_file}}`
- Encode the GOP with the specified number only:
`ppmtompeg -gop {{gop_num}} {{path/to/parameter_file}}`
- Specify the first and last frame to encode:
`ppmtompeg -frames {{first_frame}} {{last_frame}} {{path/to/parameter_file}}`
- Combine multiple MPEG frames into a single MPEG-1 stream:
`ppmtompeg -combine_frames {{path/to/parameter_file}}`

8
pages/common/ppmtoneo.md Normal file
View File

@ -0,0 +1,8 @@
# ppmtoneo
> Convert a PPM image to an Atari Neochrome file.
> More information: <https://netpbm.sourceforge.net/doc/ppmtoneo.html>.
- Convert a PPM image to a NEO file:
`ppmtoneo {{path/to/file.ppm}} > {{path/to/file.neo}}`

12
pages/common/ppmtopcx.md Normal file
View File

@ -0,0 +1,12 @@
# ppmtopcx
> Convert a PPM image to a PCX file.
> More information: <https://netpbm.sourceforge.net/doc/ppmtopcx.html>.
- Convert a PPM image to a PCX file:
`ppmtopcx {{path/to/file.ppm}} > {{path/to/file.pcx}}`
- Produce a PCX file with the specified color depth:
`ppmtopcx -{{8bit|24bit}} {{path/to/file.ppm}} > {{path/to/file.pcx}}`