Amiga Unix — 68040 · 68060

Manual pages › X Window System programs (1X)

rawtopgm(1X)

convert raw grayscale bytes into a portable graymap

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

rawtopgm - convert raw grayscale bytes into a portable graymap

rawtopgm <width> <height> [imagedata]

Reads raw grayscale bytes as input. Produces a portable graymap as output. The input file is just grayscale bytes, no header and no padding. You have to specify the width and height on the command line, since the program obviously can't get them from the file.

pgm(5)

Copyright (C) 1989 by Jef Poskanzer.

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty.

02 November 89