Amiga Unix — 68040 · 68060

Manual pages › X Window System programs (1X)

rasttopbm(1X)

convert a Sun raster file into a portable bitmap

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

rasttopbm - convert a Sun raster file into a portable bitmap

rasttopbm [rastfile]

Reads a Sun raster file as input. Produces a portable bitmap as output. NOTE: since it uses Sun-specific include files and libraries, pbmtorast will compile only on Suns.

Using this program you can convert anything you can see on a Sun screen into a pbm bitmap. Just display whatever you're interested in, do a screendump, run it through rasttopbm, and then use pnmcut to select the part you want.

The rasttoppm filter handles color images in addition to providing the same functionality as rasttopbm; but rasttopbm is worth keeping, since it is significantly faster.

pbmtorast(1), pbm(5), rasttoppm(1), ppmtorast(1)

Barry Klawans

Copyright (C) 1988 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.

31 August 1988