Pbmtomacp User Manual(0) Pbmtomacp User Manual(0)

pbmtomacp - convert a PBM image into a MacPaint file

pbmtomacp [-l left]

[-r right]

[-b bottom]

[-t top]


This program is part of Netpbm(1)

pbmtomacp reads a PBM image as input and produces a MacPaint file as output.

If you do not specify pbmfile, pbmtomacp uses Standard Input.

The generated file is only the data fork of a picture. You will need a program such as mcvert to generate a Macbinary or a BinHex file that contains the necessary information to identify the file as a PNTG file to MacOS.

-l, -r, -b, and -t let you define a square into the pbm file, that must be converted. Default is the whole file. If the file is too large for a MacPaint-file, the bitmap is cut to fit from ( left, top ).

ppmtopict(1) , macptopbm(1) , pbm(5) , mcvert documentation

Copyright (C) 1988 by Douwe van der Schaaf (...!mcvax!uvapsy!vdschaaf).

31 August 1988 netpbm documentation