PICTTOPBM
NAME
picttopbm - convert a PICT file into a portable bitmap
SYNOPSIS
picttopbm [-extraskip <n>] [pictfile]
DESCRIPTION
Reads a PICT file as input. Produces a portable bitmap as output.
Note that PICT is a drawing format, not an image format, so this
program interprets a very small subset of the operators. However,
this subset includes the operators used by such programs as SuperPaint
and AppleScan when writing out bitmap images so it's not totally
useless.
The -extraskip flag is to get around a problem with some methods of
transfering files from the Mac world to the Unix world. Most of these
methods leave the Mac files alone, but a few of them add the
"finderinfo" data onto the front of the Unix file. This means an
extra 128 bytes to skip over when reading the file. The symptom to
watch for is that the resulting PBM file looks shifted to one side.
If you get this, try -e 128, and if that still doesn't look right try
another value.
All flags can be abbreviated to their shortest unique prefix.
REFERENCES
Macintosh Technical Notes #21: QuickDraw's Internal Picture Definition
SEE ALSO
pbm(5)
BUGS
This should really be promoted to picttoppm, and fixed to handle
PICT2. Most of the hoocks are already in.
AUTHOR
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.