diff --git a/pages/common/palmtopnm.md b/pages/common/palmtopnm.md index 1fe4d8ea46..5c7ceb94db 100644 --- a/pages/common/palmtopnm.md +++ b/pages/common/palmtopnm.md @@ -1,20 +1,24 @@ # palmtopnm -> Convert a Palm Bitmap file to a PNM image. +> Convert Palm bitmap file to a PNM image. > More information: . -- Generate the PNM image as output, for a Palm Bitmap file as input: +- Convert Palm bitmap to a PNM image: -`palmtopnm {{path/to/file.palm}}` +`palmtopnm {{path/to/file.palm}} > {{path/to/file.pnm}}` -- Display various information about the input Palm Bitmap file and process: +- Display information about the input file: -`palmtopnm -verbose {{path/to/file.palm}}` +`palmtopnm -verbose {{path/to/file.palm}} > {{path/to/file.pnm}}` -- Generate a histogram of colours in the input Palm Bitmap file to `stderr`: +- Convert the n'th rendition of the image contained in the input file: -`palmtopnm -showhist {{path/to/file.palm}}` +`palmtopnm -rendition {{n}} {{path/to/file.palm}} > {{path/to/file.pnm}}` -- Display version: +- Write a histogram of the colors in the input file to `stdout`: -`palmtopnm -version` +`palmtopnm -showhist {{path/to/file.palm}} > {{path/to/file.pnm}}` + +- Output the transparent color of the input image if set: + +`palmtopnm -transparent {{path/to/file.palm}}` diff --git a/pages/linux/pnmtopalm.md b/pages/common/pnmtopalm.md similarity index 100% rename from pages/linux/pnmtopalm.md rename to pages/common/pnmtopalm.md diff --git a/pages/linux/palmtopnm.md b/pages/linux/palmtopnm.md deleted file mode 100644 index 9ed62a3f78..0000000000 --- a/pages/linux/palmtopnm.md +++ /dev/null @@ -1,24 +0,0 @@ -# palmtopnm - -> Convert Palm bitmap to a PNM image. -> More information: . - -- Convert Palm bitmap to a PNM image: - -`palmtopnm {{path/to/file.palm}} > {{path/to/file.pnm}}` - -- Display information about the input file: - -`palmtopnm -verbose {{path/to/file.palm}} > {{path/to/file.pnm}}` - -- Convert the n'th rendition of the image contained in the input file: - -`palmtopnm -rendition {{n}} {{path/to/file.palm}} > {{path/to/file.pnm}}` - -- Write a histogram of the colors in the input file to `stdout`: - -`palmtopnm -showhist {{path/to/file.palm}} > {{path/to/file.pnm}}` - -- Output the transparent color of the input image if set: - -`palmtopnm -transparent {{path/to/file.palm}}`