diff --git a/pages/common/picttoppm.md b/pages/common/picttoppm.md new file mode 100644 index 000000000..084b073d9 --- /dev/null +++ b/pages/common/picttoppm.md @@ -0,0 +1,16 @@ +# picttoppm + +> Convert a Macintosh PICT file to a PPM image. +> More information: . + +- Convert a PICT file to a PPM image: + +`picttoppm {{path/to/file.pict}} > {{path/to/file.ppm}}` + +- Force any images in the PICT file to be output at full resolution: + +`picttoppm -fullres {{path/to/file.pict}} > {{path/to/file.ppm}}` + +- Do not assume that the input file contains a PICT header and execute quickdraw operations only: + +`picttoppm -noheader -quickdraw {{path/to/file.pict}} > {{path/to/file.ppm}}` diff --git a/pages/common/pnmtops.md b/pages/common/pnmtops.md new file mode 100644 index 000000000..5740f2032 --- /dev/null +++ b/pages/common/pnmtops.md @@ -0,0 +1,16 @@ +# pnmtops + +> Convert a PNM image to a PostScript file. +> More information: . + +- Convert a PNM image to a PS file: + +`pnmtops {{path/to/file.pnm}} > {{path/to/file.ps}}` + +- Specify the dimensions of the output image in inches: + +`pnmtops -imagewidth {{imagewidth}} -imageheight {{imageheight}} {{path/to/file.pnm}} > {{path/to/file.ps}}` + +- Specify the dimensions of the page the output image resides on in inches: + +`pnmtops -width {{width}} -height {{height}} {{path/to/file.pnm}} > {{path/to/file.ps}}` diff --git a/pages/common/ppmtopict.md b/pages/common/ppmtopict.md new file mode 100644 index 000000000..67343c4d7 --- /dev/null +++ b/pages/common/ppmtopict.md @@ -0,0 +1,8 @@ +# ppmtopict + +> Convert a PPM image to a Macintosh PICT file. +> More information: . + +- Convert a PPM image to a PICT file: + +`ppmtopict {{path/to/file.ppm}} > {{path/to/file.pict}}` diff --git a/pages/common/ppmtopuzz.md b/pages/common/ppmtopuzz.md new file mode 100644 index 000000000..2631ec397 --- /dev/null +++ b/pages/common/ppmtopuzz.md @@ -0,0 +1,8 @@ +# ppmtopuzz + +> Convert a PPM image to an X11 puzzle file. +> More information: . + +- Convert a PPM image to an X11 puzzle file: + +`ppmtopuzz {{path/to/file.ppm}} > {{path/to/file.puzz}}` diff --git a/pages/common/ppmtosixel.md b/pages/common/ppmtosixel.md new file mode 100644 index 000000000..ca0ef0e6f --- /dev/null +++ b/pages/common/ppmtosixel.md @@ -0,0 +1,20 @@ +# ppmtosixel + +> Convert a PPM image to DEC sixel format. +> More information: . + +- Convert a PPM image to DEC sixel format: + +`ppmtosixel {{path/to/file.ppm}} > {{path/to/file.sixel}}` + +- Produce an uncompressed SIXEL file that is much slower to print: + +`ppmtosixel -raw {{path/to/file.ppm}} > {{path/to/file.sixel}}` + +- Add a left margin of 1.5 inches: + +`ppmtosixel -margin {{path/to/file.ppm}} > {{path/to/file.sixel}}` + +- Encode control codes in a more portable (although less space-efficient) way: + +`ppmtosixel -7bit {{path/to/file.ppm}} > {{path/to/file.sixel}}` diff --git a/pages/common/psidtopgm.md b/pages/common/psidtopgm.md new file mode 100644 index 000000000..03c093300 --- /dev/null +++ b/pages/common/psidtopgm.md @@ -0,0 +1,8 @@ +# psidtopgm + +> Convert PostScript image data to a PGM image. +> More information: . + +- Convert the image data in a PS file to a PGM image of the specified dimensions and quality: + +`psidtopgm {{width}} {{height}} {{bits_per_sample}} {{path/to/file.ps}} > {{path/to/image.pgm}}` diff --git a/pages/common/pstopnm.md b/pages/common/pstopnm.md new file mode 100644 index 000000000..b9bc0df68 --- /dev/null +++ b/pages/common/pstopnm.md @@ -0,0 +1,16 @@ +# pstopnm + +> Convert a PostScript file to a PNM image. +> More information: . + +- Convert a PS file to PNM images, storing page N of the input to `path/to/fileN.ppm`: + +`pstopnm {{path/to/file.ps}}` + +- Explicitly specify the output format: + +`pstopnm -{{pbm|pgm|ppm}} {{path/to/file.ps}}` + +- Specify the resolution of the output in dots per inch: + +`pstopnm -dpi {{n}} {{path/to/file.ps}}` diff --git a/pages/common/qrttoppm.md b/pages/common/qrttoppm.md new file mode 100644 index 000000000..74e0678ed --- /dev/null +++ b/pages/common/qrttoppm.md @@ -0,0 +1,8 @@ +# qrttoppm + +> Convert a QRT ray tracer file to a PPM image. +> More information: . + +- Convert a QRT file to a PPM image: + +`qrttoppm {{path/to/file.qrt}} > {{path/to/image.ppm}}`