If your PGM file doesn't use one of these palettes, use ppmquant(1)
to convert your palette.
If an image's width is not a multiple of 16 pixels, enough extra white pixels
will be added at the right side to ensure alignment. Images will be padded,
with white pixels, to a width and height of 160 if needed.
Display a short summary of the command line options and exit.
Display the version and exit.
Use 4 bit grayscale (16 shades of gray).
Specify the title of the image (up to 31 characters).
Specify the note file. No note is attached to the image by default.
Produce a compressed image.
Produce a compressed image if it is smaller than the uncompressed version.
This is the default compression mode.
Produce an uncompressed image.
The input file. The default is the standard input.
The output file. The default is the standard output.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.