summary refs log tree commit diff
path: root/pampop9.html
blob: 467fa5d2b63f870a3cb597149f21e90f2ba3613b (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Pampop9 User Manual</title></head>
<body>

<h1>pampop9</h1>
Updated: 02 March 2003
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>
pampop9 - simulate a multi-lens camera such as the Pop9

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

<b>pampop9</b>
<i>pnmfile|-</i>
<i>xtiles</i>
<i>ytiles</i>
<i>xdelta</i>
<i>ydelta</i>

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

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

<p>
<b>pampop9</b> tiles your starting image <i>xtiles</i> by <i>ytiles</i>
times.
Each of these tiles is taken from a slightly different offset within the
source, as determined by the <i>xdelta</i> and <i>ydelta</i> arguments.


<p>
The top line of tiles in the output is taken from the top of the source
image, the second starts with the <i>ydelta</i> row of the source image,
the next with the 2*<i>ydelta</i> row, and so on.
Similarly, the first column of tiles in the output is taken from the left
of the source image, the next starts with the <i>xdelta</i> column, the
next with the 2*<i>xdelta</i> column, and so on.


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

<p>There are no command line options defined specifically
for <b>pampop9</b>, but it recognizes the options common to all
programs based on libnetpbm (See <a href="index.html#commonoptions">
Common Options</a>.)

<h2 id="examples">EXAMPLES</h2>

<p>
With a 100 x 100 source image, then the output image from
<b>pampop9</b> <i>3 3 10 10</i> will appear to be a three-by-three grid,
each tile being 80 x 80 pixels.
If the origin is taken to be the top-left corner, then the top row of
tiles will take start at (0, 0) (10, 0) (20, 0) within the source image,
the middle row will start at (0, 10) (10, 10) (20, 10), and the bottom
row at (0, 20) (10, 20) (20, 20).


<h2 id="history">HISTORY</h2>

<p><b>pampop9</b> was new in Netpbm 10.15 (April 2003).  It was
adapted slightly from <b>pampup9</b>, which was distributed by Robert
Tinsley.  At that time, it was distributed via
http://www.thepoacher.net/code/#pampup9.  By October 2004, that URL
no longer was valid.

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

<a href="pnmtile.html">pnmtile</a>

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

<p>Copyright (C) 2003 by Robert Tinsley.  This software is released
under the GPL (<a href="http://www.fsf.org/licensing/licenses/gpl.txt">
http://www.fsf.org/licenses/gpl.txt</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="#examples">EXAMPLES</a>
<li><a href="#history">HISTORY</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#author">AUTHOR</a>
</ul>

</body>
</html>