File: metapixel.1

package info (click to toggle)
metapixel 1.0.2-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 372 kB
  • ctags: 596
  • sloc: ansic: 5,367; perl: 173; xml: 122; makefile: 106
file content (81 lines) | stat: -rw-r--r-- 3,133 bytes parent folder | download | duplicates (7)
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
.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "METAPIXEL" 1 "May 5, 2004" "" ""
.SH NAME
metapixel \- generator for photomosaics
.SH "SYNOPSIS"
.ad l
.hy 0
.HP 18
\fBmetapixel\-prepare\fR [\fB\fIoptions\fR\fR] [\fIsrcdir\fR] [\fIdestdir\fR]
.ad
.hy

prepares the pictures in \fIsrcdir\fR by creating resized images and a table file in \fIdestdir\fR
.sp
.ad l
.hy 0
.HP 10
\fBmetapixel\fR [\fB\fIoptions\fR\fR] [\-\-metapixel\ \fIinput\&.jpg\fR\ \fIoutput\&.png\fR\ \-\-library\ \fIdestdir\fR]
.ad
.hy

creates a photomosaic \fIoutput\&.png\fR using \fIinput\&.jpg\fR as the input image and \fIdestdir/tables\&.mxt\fR as table file
.sp

.SH "DESCRIPTION"

.PP
This manual page documents briefly the \fBmetapixel\fR and \fBmetapixel\-prepare\fR commands\&. For more information check the README file included in the distribution\&.

.PP
\fBmetapixel\fR is a program for generating photomosaics\&. It can generate classical photomosaics, in which the source image is viewed as a matrix of equally sized rectangles for each of which a matching image is substitued, as well as collage\-style photomosaics, in which rectangular parts of the source image at arbitrary positions (i\&.e\&. not aligned to a matrix) are substituted by matching images\&.

.PP
\fBmetapixel\-prepare\fR is a utility that needs to be run before metapixel can be used\&. It prepares your source images so that they can be used by \fBmetapixel\fR to create the actual photomosaic\&.

.SH "USAGE"

.PP
\fBmetapixel\-prepare \fIsrcdir\fR \fIdestdir\fR\fR has to be run first\&. \fIsrcdir\fR is the path to the directory containing the source images, e\&.g\&. \fI~/Pictures/Holidays\fR\&. \fIdestdir\fR, e\&.g\&. \fI~/\&.metapixel\fR, is the path to the directory where you want to store the rescaled images and the \fItables\&.mxt\fR index file\&. This directory should be created manually before running \fBmetapixel\-prepare\fR\&.

.PP
\fBmetapixel \-\-metapixel \fIinput\&.jpg\fR \fIoutput\&.png\fR \-\-library \fIdestdir\fR\fR is then used to transform an image (\fIinput\&.jpg\fR) into a mosaic (\fIoutput\&.png\fR) using the source images (described by \fIdestdir/tables\&.mxt\fR)\&.

.SH "OPTIONS"

.PP
The options are described in the README file or by running \fBmetapixel\fR or \fBmetapixel\-prepare\fR with the \-\-help option\&.

.SH "SEE ALSO"

.PP
The README file is included in the Metapixel distribution\&.

.SH "AUTHOR"

.PP
This manual page was written by Chris Vanden Berghe <Chris@VandenBerghe\&.org> for the Debian system (but may be used by others)\&. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation\&.

.PP
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\&.

.SH AUTHOR
Chris Vanden Berghe.