summary refs log tree commit diff
path: root/macptopbm.html
blob: ecc45162dc906b64560672c516c42e3684795e28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Macptopbm User Manual</title></head>
<body>
<h1>macptopbm</h1>
Updated: 29 March 1989
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>
macptopbm - convert a MacPaint file into a PBM image

<h2 id="synopsis">SYNOPSIS</h2>

<b>macptopbm</b> [<b>-extraskip</b> <i>N</i>] [<i>macpfile</i>]

<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>macptopbm</b>reads a MacPaint file as input and produces a PBM
image as output.

<h2 id="options">OPTIONS</h2>

<p>In addition to the options common to all programs based on libnetpbm
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
Common Options</a>), <b>macptopbm</b> recognizes the following
command line option:

<p>You can abbreviate any option to its shortest unique prefix.

<dl compact>
<dt><b>-extraskip</b>

<dd>This option is to get around a problem with some methods of
transferring 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 <b>-extraskip</b> 128, and if that
still doesn't look right try another value.

</dl>

<h2 id="seealso">SEE ALSO</h2>

<a href="picttoppm.html">picttoppm</a>,
<a href="pbmtomacp.html">pbmtomacp</a>,
<a href="pbm.html">pbm</a>

<h2 id="author">AUTHOR</h2>

Copyright (C) 1988 by Jef Poskanzer.

The MacPaint-reading code is copyright (c) 1987 by Patrick J. Naughton
(<a href="mailto:naughton@wind.sun.com">naughton@wind.sun.com</a>).

<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#author">AUTHOR</a>
</ul>
</body>
</html>