image_compressor_pack 0.1.3-amd64-freebsd-10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/LICENSE.txt +22 -0
- data/lib/.paths.yml +12 -0
- data/lib/image_compressor_pack/dynamically_linked_recipes.yml +99 -0
- data/lib/image_compressor_pack/recipes.rb +42 -0
- data/lib/image_compressor_pack/statically_linked_recipes.yml +106 -0
- data/lib/image_compressor_pack/version.rb +3 -0
- data/lib/image_compressor_pack.rb +24 -0
- data/ports/advancecomp-1.2-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/archives/2.1.1.tar.gz +0 -0
- data/ports/archives/2.7.1.tar.gz +0 -0
- data/ports/archives/advancecomp-1.20.tar.gz +0 -0
- data/ports/archives/gifsicle-1.88.tar.gz +0 -0
- data/ports/archives/jhead-3.00.tar.gz +0 -0
- data/ports/archives/jpegoptim-1.4.3.tar.gz +0 -0
- data/ports/archives/lcms2-2.7.tar.gz +0 -0
- data/ports/archives/libpng-1.6.21.tar.gz +0 -0
- data/ports/archives/mozjpeg-3.1-release-source.tar.gz +0 -0
- data/ports/archives/nasm-2.12.01.tar.gz +0 -0
- data/ports/archives/optipng-0.7.6.tar.gz +0 -0
- data/ports/archives/pngcrush-1.8.1.tar.gz +0 -0
- data/ports/archives/zlib-1.2.8.tar.gz +0 -0
- data/ports/gifsicle-1.88-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/jhead-3.0-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/jpeg-archive-2.1.1-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/jpegoptim-1.4.3-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/lcms2-2.7-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/libpng-1.6.21-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/mozjpeg-3.1-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/nasm-2.12.01-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/optipng-0.7.6-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/pngcrush-1.8.1-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/pngquant-2.7.1-x86_64-unknown-freebsd10.3.installed +0 -0
- data/ports/x86_64-unknown-freebsd10.3/advancecomp/1.2/bin/advdef +0 -0
- data/ports/x86_64-unknown-freebsd10.3/advancecomp/1.2/bin/advmng +0 -0
- data/ports/x86_64-unknown-freebsd10.3/advancecomp/1.2/bin/advpng +0 -0
- data/ports/x86_64-unknown-freebsd10.3/advancecomp/1.2/bin/advzip +0 -0
- data/ports/x86_64-unknown-freebsd10.3/advancecomp/1.2/share/man/man1/advdef.1 +83 -0
- data/ports/x86_64-unknown-freebsd10.3/advancecomp/1.2/share/man/man1/advmng.1 +197 -0
- data/ports/x86_64-unknown-freebsd10.3/advancecomp/1.2/share/man/man1/advpng.1 +93 -0
- data/ports/x86_64-unknown-freebsd10.3/advancecomp/1.2/share/man/man1/advzip.1 +116 -0
- data/ports/x86_64-unknown-freebsd10.3/gifsicle/1.88/bin/gifsicle +0 -0
- data/ports/x86_64-unknown-freebsd10.3/gifsicle/1.88/share/man/man1/gifsicle.1 +1318 -0
- data/ports/x86_64-unknown-freebsd10.3/jhead/3.0/bin/jhead +0 -0
- data/ports/x86_64-unknown-freebsd10.3/jpeg-archive/2.1.1/bin/jpeg-archive +40 -0
- data/ports/x86_64-unknown-freebsd10.3/jpeg-archive/2.1.1/bin/jpeg-compare +0 -0
- data/ports/x86_64-unknown-freebsd10.3/jpeg-archive/2.1.1/bin/jpeg-hash +0 -0
- data/ports/x86_64-unknown-freebsd10.3/jpeg-archive/2.1.1/bin/jpeg-recompress +0 -0
- data/ports/x86_64-unknown-freebsd10.3/jpegoptim/1.4.3/bin/jpegoptim +0 -0
- data/ports/x86_64-unknown-freebsd10.3/jpegoptim/1.4.3/share/man/man1/jpegoptim.1 +186 -0
- data/ports/x86_64-unknown-freebsd10.3/lcms2/2.7/bin/linkicc +0 -0
- data/ports/x86_64-unknown-freebsd10.3/lcms2/2.7/bin/psicc +0 -0
- data/ports/x86_64-unknown-freebsd10.3/lcms2/2.7/bin/transicc +0 -0
- data/ports/x86_64-unknown-freebsd10.3/lcms2/2.7/include/lcms2.h +1889 -0
- data/ports/x86_64-unknown-freebsd10.3/lcms2/2.7/include/lcms2_plugin.h +637 -0
- data/ports/x86_64-unknown-freebsd10.3/lcms2/2.7/lib/liblcms2.a +0 -0
- data/ports/x86_64-unknown-freebsd10.3/lcms2/2.7/lib/liblcms2.la +41 -0
- data/ports/x86_64-unknown-freebsd10.3/lcms2/2.7/lib/pkgconfig/lcms2.pc +11 -0
- data/ports/x86_64-unknown-freebsd10.3/lcms2/2.7/share/man/man1/jpgicc.1 +122 -0
- data/ports/x86_64-unknown-freebsd10.3/lcms2/2.7/share/man/man1/tificc.1 +117 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/include/libpng16/png.h +3130 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/include/libpng16/pngconf.h +622 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/include/libpng16/pnglibconf.h +212 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/include/png.h +1 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/include/pngconf.h +1 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/include/pnglibconf.h +1 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/lib/libpng.a +1 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/lib/libpng.la +1 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/lib/libpng16.a +0 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/lib/libpng16.la +41 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/lib/pkgconfig/libpng16.pc +11 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/share/man/man3/libpng.3 +6124 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/share/man/man3/libpngpf.3 +18 -0
- data/ports/x86_64-unknown-freebsd10.3/libpng/1.6.21/share/man/man5/png.5 +74 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/bin/cjpeg +0 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/bin/djpeg +0 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/bin/jpegtran +0 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/bin/rdjpgcom +0 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/bin/tjbench +0 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/bin/wrjpgcom +0 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/include/jconfig.h +71 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/include/jerror.h +320 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/include/jmorecfg.h +390 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/include/jpeglib.h +1185 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/include/turbojpeg.h +1538 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/lib/libjpeg.a +0 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/lib/libjpeg.la +41 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/lib/libturbojpeg.a +0 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/lib/libturbojpeg.la +41 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/doc/README +281 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/doc/README-mozilla.txt +194 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/doc/README-turbo.txt +363 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/doc/example.c +433 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/doc/libjpeg.txt +3015 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/doc/structure.txt +906 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/doc/usage.txt +649 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/doc/wizard.txt +211 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/man/man1/cjpeg.1 +352 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/man/man1/djpeg.1 +278 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/man/man1/jpegtran.1 +269 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/man/man1/rdjpgcom.1 +63 -0
- data/ports/x86_64-unknown-freebsd10.3/mozjpeg/3.1/share/man/man1/wrjpgcom.1 +103 -0
- data/ports/x86_64-unknown-freebsd10.3/nasm/2.12.01/bin/nasm +0 -0
- data/ports/x86_64-unknown-freebsd10.3/nasm/2.12.01/bin/ndisasm +0 -0
- data/ports/x86_64-unknown-freebsd10.3/nasm/2.12.01/share/man/man1/nasm.1 +429 -0
- data/ports/x86_64-unknown-freebsd10.3/nasm/2.12.01/share/man/man1/ndisasm.1 +120 -0
- data/ports/x86_64-unknown-freebsd10.3/optipng/0.7.6/bin/optipng +0 -0
- data/ports/x86_64-unknown-freebsd10.3/optipng/0.7.6/man/man1/optipng.1 +343 -0
- data/ports/x86_64-unknown-freebsd10.3/pngcrush/1.8.1/bin/pngcrush +0 -0
- data/ports/x86_64-unknown-freebsd10.3/pngquant/2.7.1/bin/pngquant +0 -0
- data/ports/x86_64-unknown-freebsd10.3/pngquant/2.7.1/share/man/man1/pngquant.1 +127 -0
- data/ports/x86_64-unknown-freebsd10.3/zlib/1.2.8/include/zconf.h +511 -0
- data/ports/x86_64-unknown-freebsd10.3/zlib/1.2.8/include/zlib.h +1768 -0
- data/ports/x86_64-unknown-freebsd10.3/zlib/1.2.8/lib/libz.a +0 -0
- data/ports/x86_64-unknown-freebsd10.3/zlib/1.2.8/lib/pkgconfig/zlib.pc +13 -0
- data/ports/x86_64-unknown-freebsd10.3/zlib/1.2.8/share/man/man3/zlib.3 +151 -0
- data/ports/zlib-1.2.8-x86_64-unknown-freebsd10.3.installed +0 -0
- data.tar.gz.sig +0 -0
- metadata +264 -0
- metadata.gz.sig +0 -0
@@ -0,0 +1,197 @@
|
|
1
|
+
.TH "AdvanceCOMP MNG Compression Utility" 1
|
2
|
+
.SH NAME
|
3
|
+
advmng \- AdvanceCOMP MNG Compression Utility
|
4
|
+
.SH SYNOPSIS
|
5
|
+
advmng [\-l, \-\-list] [\-z, \-\-recompress]
|
6
|
+
.PD 0
|
7
|
+
.PP
|
8
|
+
.PD
|
9
|
+
[\-x, \-\-extract] [\-a, \-\-add RATE MNG_FILE PNG_FILES...]
|
10
|
+
.PD 0
|
11
|
+
.PP
|
12
|
+
.PD
|
13
|
+
[\-0, \-\-shrink\-store] [\-1, \-\-shrink\-fast] [\-2, \-\-shrink\-normal]
|
14
|
+
.PD 0
|
15
|
+
.PP
|
16
|
+
.PD
|
17
|
+
[\-3, \-\-shrink\-extra] [\-4, \-\-shrink\-insane] [\-i, \-\-iter N]
|
18
|
+
.PD 0
|
19
|
+
.PP
|
20
|
+
.PD
|
21
|
+
[\-s, \-\-scroll HxV] [\-S, \-\-scroll\-square]
|
22
|
+
.PD 0
|
23
|
+
.PP
|
24
|
+
.PD
|
25
|
+
[\-e, \-\-expand] [\-r, \-\-reduce]
|
26
|
+
.PD 0
|
27
|
+
.PP
|
28
|
+
.PD
|
29
|
+
[\-c, \-\-lc] [\-C, \-\-vlc] [\-f, \-\-force] [\-q, \-\-quiet] [\-v, \-\-verbose]
|
30
|
+
.PD 0
|
31
|
+
.PP
|
32
|
+
.PD
|
33
|
+
[\-h, \-\-help] [\-V, \-\-version] FILES...
|
34
|
+
.PD 0
|
35
|
+
.PP
|
36
|
+
.PD
|
37
|
+
.SH DESCRIPTION
|
38
|
+
The main purpose of this utility is to recompress MNG
|
39
|
+
files to get the smallest possible size.
|
40
|
+
.PP
|
41
|
+
Please note that this utility is not able to read
|
42
|
+
a generic file. It\'s granted to be able to read only
|
43
|
+
the files generated by the AdvanceMAME emulator.
|
44
|
+
.PP
|
45
|
+
To compress the files this utility uses the following
|
46
|
+
strategies:
|
47
|
+
.PD 0
|
48
|
+
.IP \(bu
|
49
|
+
Remove all ancillary chunks.
|
50
|
+
.IP \(bu
|
51
|
+
Use the MNG Delta feature to compress video clips with
|
52
|
+
only small changes between frames.
|
53
|
+
.IP \(bu
|
54
|
+
Use the MNG Move feature to compress video clips with
|
55
|
+
a scrolling background (option \-s).
|
56
|
+
.IP \(bu
|
57
|
+
Reduce the color depth to 8 bit (option \-r).
|
58
|
+
.IP \(bu
|
59
|
+
Use the 7zip Deflate implementation.
|
60
|
+
.PD
|
61
|
+
.SH COMMANDS
|
62
|
+
.TP
|
63
|
+
.B \-l, \-\-list FILES...
|
64
|
+
List the content of the specified files.
|
65
|
+
.TP
|
66
|
+
.B \-z, \-\-recompress FILES...
|
67
|
+
Recompress the specified files. If the \-1, \-2, \-3
|
68
|
+
options are specified, it\'s used the smallest file
|
69
|
+
choice from the previous compressed data and the
|
70
|
+
new compression. If the \-0 option is specified the
|
71
|
+
file is always rewritten without any compression.
|
72
|
+
.TP
|
73
|
+
.B \-x, \-\-extract FILES...
|
74
|
+
Extract all the .png frames in the .mng clips.
|
75
|
+
You can use the \-\-shrink options to control the
|
76
|
+
compression ratio of the .png files. The extracted
|
77
|
+
images are always 24 bit images with alpha channel.
|
78
|
+
You can remove the alpha channel with the \-n option.
|
79
|
+
.TP
|
80
|
+
.B \-a, \-\-add RATE MNG_FILE PNG_FILES...
|
81
|
+
Compress all the .png files on the command line
|
82
|
+
as a .mng file. All the .png files must have the
|
83
|
+
same size and the same bit depth. You must also
|
84
|
+
specify an integer frame rate to use in the
|
85
|
+
.mng file.
|
86
|
+
.SH OPTIONS
|
87
|
+
.TP
|
88
|
+
.B \-0, \-\-shrink\-store
|
89
|
+
Disable the compression. The file is
|
90
|
+
only stored and not compressed. The file is always
|
91
|
+
rewritten also if it\'s bigger.
|
92
|
+
.TP
|
93
|
+
.B \-1, \-\-shrink\-fast
|
94
|
+
Set the compression level to \[dq]fast\[dq] using the zlib
|
95
|
+
compressor.
|
96
|
+
.TP
|
97
|
+
.B \-2, \-\-shrink\-normal
|
98
|
+
Set the compression level to \[dq]normal\[dq] using the 7z
|
99
|
+
compressor.
|
100
|
+
This is the default level of compression.
|
101
|
+
.TP
|
102
|
+
.B \-3, \-\-shrink\-extra
|
103
|
+
Set the compression level to \[dq]extra\[dq] using the 7z
|
104
|
+
compressor.
|
105
|
+
You can define the compressor iterations with
|
106
|
+
the \-i, \-\-iter option.
|
107
|
+
.TP
|
108
|
+
.B \-4, \-\-shrink\-insane
|
109
|
+
Set the compression level to \[dq]insane\[dq] using the zopfli
|
110
|
+
compressor.
|
111
|
+
You can define the compressor iterations with
|
112
|
+
the \-i, \-\-iter option.
|
113
|
+
.TP
|
114
|
+
.B \-i, \-\-iter N
|
115
|
+
Define an additional numer of iterations for the 7z and zopfli
|
116
|
+
compressors for modes \-3 and \-4.
|
117
|
+
More iterations usually give a better compression, but may
|
118
|
+
require a lot more time.
|
119
|
+
Try for example with 10, 15, 20, and so on.
|
120
|
+
.TP
|
121
|
+
.B \-s, \-\-scroll HxV
|
122
|
+
The \[dq]\-s HxV\[dq] option specifies the size of the pattern
|
123
|
+
(H width x V height) used to check for a
|
124
|
+
scrolling background. The size is expressed in
|
125
|
+
pixels and it must be bigger or equal than the
|
126
|
+
scrolling speed of the background. For example
|
127
|
+
take the game 1942 that scrolls vertically by 1
|
128
|
+
pixel every frame. If you recorded with an interleave
|
129
|
+
factor of 2 the vertical scrolling speed is
|
130
|
+
1*2 = 2. In this case the minimum pattern is \[dq]\-s 0x2\[dq].
|
131
|
+
Generally you can use \[dq]\-s 8x8\[dq] and use bigger
|
132
|
+
values only for games scrolling faster. If the
|
133
|
+
game scrolls only horizontally or vertically you can
|
134
|
+
speed up a lot the compression with monodirectional
|
135
|
+
patterns like \[dq]\-s 16x0\[dq] or \[dq]\-s 0x16\[dq].
|
136
|
+
.TP
|
137
|
+
.B \-S, \-\-scroll\-square N
|
138
|
+
This option is like the option \[dq]\-s NxN\[dq] but excludes
|
139
|
+
big movement on both directions reducing the computation
|
140
|
+
time. Specifically the check done is X+Y<=N.
|
141
|
+
.TP
|
142
|
+
.B \-r, \-\-reduce
|
143
|
+
Force the color reduction to 8 bit. The reduction is
|
144
|
+
really done only if any frame have less than 256 colors
|
145
|
+
and if no alpha channel is present. To force the reduction
|
146
|
+
also if an alpha channel is present use the \-n option.
|
147
|
+
.TP
|
148
|
+
.B \-e, \-\-expand
|
149
|
+
Force the color expansion to 24 bit.
|
150
|
+
.TP
|
151
|
+
.B \-n, \-\-noalpha
|
152
|
+
Remove the alpha channel if present.
|
153
|
+
.TP
|
154
|
+
.B \-c, \-\-lc
|
155
|
+
Force the use of the MNG LC (Low Complexity)
|
156
|
+
specifications. It disables the delta compression.
|
157
|
+
The file is always rewritten also if it\'s bigger.
|
158
|
+
.TP
|
159
|
+
.B \-C, \-\-vlc
|
160
|
+
Force the use of the MNG VLC (Very Low Complexity)
|
161
|
+
specifications. It disables the delta compression
|
162
|
+
and the precise timing. Warning! you may lose the
|
163
|
+
correct timing information because the VLC format
|
164
|
+
only supports integer frequency. The file is always
|
165
|
+
rewritten also if it\'s bigger.
|
166
|
+
.TP
|
167
|
+
.B \-f, \-\-force
|
168
|
+
Force the use of the new file also if it\'s bigger.
|
169
|
+
.TP
|
170
|
+
.B \-q, \-\-quiet
|
171
|
+
Don\'t print the filenames.
|
172
|
+
.TP
|
173
|
+
.B \-v, \-\-verbose
|
174
|
+
Print more information on the compression process.
|
175
|
+
.SH EXAMPLES
|
176
|
+
A good tradeoff of recompression and time is the command :
|
177
|
+
.PP
|
178
|
+
.RS 4
|
179
|
+
advmng \-z \-r \-S 16 *.mng
|
180
|
+
.RE
|
181
|
+
.PP
|
182
|
+
To create a .mng file from a series of .png files use the
|
183
|
+
command :
|
184
|
+
.PP
|
185
|
+
.RS 4
|
186
|
+
advmng \-a 30 video.mng video*.png
|
187
|
+
.RE
|
188
|
+
.PP
|
189
|
+
To extract all the images in a .mng file use the command :
|
190
|
+
.PP
|
191
|
+
.RS 4
|
192
|
+
advmng \-x video.mng
|
193
|
+
.RE
|
194
|
+
.SH COPYRIGHT
|
195
|
+
This file is Copyright (C) 2003 Andrea Mazzoleni, Filipe Estima
|
196
|
+
.SH SEE ALSO
|
197
|
+
advzip(1), advpng(1), advdef(1)
|
@@ -0,0 +1,93 @@
|
|
1
|
+
.TH "AdvanceCOMP PNG Compression Utility" 1
|
2
|
+
.SH NAME
|
3
|
+
advpng \- AdvanceCOMP PNG Compression Utility
|
4
|
+
.SH SYNOPSIS
|
5
|
+
advpng [\-l, \-\-list] [\-z, \-\-recompress] [\-0, \-\-shrink\-0]
|
6
|
+
.PD 0
|
7
|
+
.PP
|
8
|
+
.PD
|
9
|
+
[\-1, \-\-shrink\-fast] [\-2, \-\-shrink\-normal [\-3, \-\-shrink\-extra]
|
10
|
+
.PD 0
|
11
|
+
.PP
|
12
|
+
.PD
|
13
|
+
[\-4, \-\-shrink\-insane] [\-i, \-\-iter N]
|
14
|
+
.PD 0
|
15
|
+
.PP
|
16
|
+
.PD
|
17
|
+
[\-f, \-\-force] [\-q, \-\-quiet]
|
18
|
+
.PD 0
|
19
|
+
.PP
|
20
|
+
.PD
|
21
|
+
[\-h, \-\-help] [\-V, \-\-version] FILES...
|
22
|
+
.PD 0
|
23
|
+
.PP
|
24
|
+
.PD
|
25
|
+
.SH DESCRIPTION
|
26
|
+
The main purpose of this utility is to recompress png
|
27
|
+
files to get the smallest possible size.
|
28
|
+
.PP
|
29
|
+
Please note that this utility is not able to read
|
30
|
+
a generic file. It\'s granted to be able to read only
|
31
|
+
the files generated by the AdvanceMAME emulator.
|
32
|
+
.PP
|
33
|
+
To compress the files this utility uses the following
|
34
|
+
strategies:
|
35
|
+
.PD 0
|
36
|
+
.IP \(bu
|
37
|
+
Remove all ancillary chunks.
|
38
|
+
.IP \(bu
|
39
|
+
Concatenate all the IDAT chunks.
|
40
|
+
.IP \(bu
|
41
|
+
Use the 7zip Deflate implementation.
|
42
|
+
.PD
|
43
|
+
.SH OPTIONS
|
44
|
+
.TP
|
45
|
+
.B \-l, \-\-list FILES...
|
46
|
+
List the content of the specified files.
|
47
|
+
.TP
|
48
|
+
.B \-z, \-\-recompress FILES...
|
49
|
+
Recompress the specified files. If the \-1, \-2, \-3
|
50
|
+
options are specified it\'s used the smallest file
|
51
|
+
choice from the previous compressed data and the
|
52
|
+
new compression. If the \-0 option is specified the
|
53
|
+
file is always rewritten without any compression.
|
54
|
+
.TP
|
55
|
+
.B \-0, \-\-shrink\-store
|
56
|
+
Disable the compression. The file is
|
57
|
+
only stored and not compressed. The file is always
|
58
|
+
rewritten also if it\'s bigger.
|
59
|
+
.TP
|
60
|
+
.B \-1, \-\-shrink\-fast
|
61
|
+
Set the compression level to \[dq]fast\[dq] using the zlib
|
62
|
+
compressor.
|
63
|
+
.TP
|
64
|
+
.B \-2, \-\-shrink\-normal
|
65
|
+
Set the compression level to \[dq]normal\[dq] using the 7z
|
66
|
+
compressor.
|
67
|
+
This is the default level of compression.
|
68
|
+
.TP
|
69
|
+
.B \-3, \-\-shrink\-extra
|
70
|
+
Set the compression level to \[dq]extra\[dq] using the 7z
|
71
|
+
compressor.
|
72
|
+
You can define the compressor iterations with
|
73
|
+
the \-i, \-\-iter option.
|
74
|
+
.TP
|
75
|
+
.B \-4, \-\-shrink\-insane
|
76
|
+
Set the compression level to \[dq]insane\[dq] using the zopfli
|
77
|
+
compressor.
|
78
|
+
You can define the compressor iterations with
|
79
|
+
the \-i, \-\-iter option.
|
80
|
+
.TP
|
81
|
+
.B \-i, \-\-iter N
|
82
|
+
Define an additional numer of iterations for the 7z and zopfli
|
83
|
+
compressors for modes \-3 and \-4.
|
84
|
+
More iterations usually give a better compression, but may
|
85
|
+
require a lot more time.
|
86
|
+
Try for example with 10, 15, 20, and so on.
|
87
|
+
.TP
|
88
|
+
.B \-f, \-\-force
|
89
|
+
Force the use of the new file also if it\'s bigger.
|
90
|
+
.SH COPYRIGHT
|
91
|
+
This file is Copyright (C) 2002 Andrea Mazzoleni, Filipe Estima
|
92
|
+
.SH SEE ALSO
|
93
|
+
advzip(1), advmng(1), advdef(1)
|
@@ -0,0 +1,116 @@
|
|
1
|
+
.TH "AdvanceCOMP ZIP Compression Utility" 1
|
2
|
+
.SH NAME
|
3
|
+
advzip \- AdvanceCOMP ZIP Compression Utility
|
4
|
+
.SH SYNOPSIS
|
5
|
+
advzip [\-a, \-\-add] [\-x, \-\-extract] [\-l, \-\-list]
|
6
|
+
.PD 0
|
7
|
+
.PP
|
8
|
+
.PD
|
9
|
+
[\-z, \-\-recompress] [\-t, \-\-test] [\-0, \-\-shrink\-store]
|
10
|
+
.PD 0
|
11
|
+
.PP
|
12
|
+
.PD
|
13
|
+
[\-1, \-\-shrink\-fast] [\-2, \-\-shrink\-normal] [\-3, \-\-shrink\-extra]
|
14
|
+
.PD 0
|
15
|
+
.PP
|
16
|
+
.PD
|
17
|
+
[\-4, \-\-shrink\-insane] [\-i, \-\-iter N]
|
18
|
+
.PD 0
|
19
|
+
.PP
|
20
|
+
.PD
|
21
|
+
[\-k, \-\-keep\-file\-time] [\-p, \-\-pedantic] [\-q, \-\-quiet]
|
22
|
+
.PD 0
|
23
|
+
.PP
|
24
|
+
.PD
|
25
|
+
[\-h, \-\-help] [\-V, \-\-version] ARCHIVES... [FILES...]
|
26
|
+
.PD 0
|
27
|
+
.PP
|
28
|
+
.PD
|
29
|
+
.SH DESCRIPTION
|
30
|
+
The main purpose of this utility is to recompress and test
|
31
|
+
the zip archives to get the smallest possible size.
|
32
|
+
.PP
|
33
|
+
For recompression the 7\-Zip (www.7\-zip.com) Deflate
|
34
|
+
implementation is used. This implementation generally
|
35
|
+
gives 5\-10% more compression than the zLib Deflate
|
36
|
+
implementation.
|
37
|
+
.PP
|
38
|
+
For experimental purpose also the 7\-Zip LZMA algorithm is
|
39
|
+
available with the \-N option. In this case, the generated
|
40
|
+
zips WILL NOT BE USABLE by any other program. To make
|
41
|
+
them usable you need to recompress them without the \-N
|
42
|
+
option. Generally this algorithm gives 10\-20% more
|
43
|
+
compression than the 7\-Zip Deflate implementation.
|
44
|
+
.SH OPTIONS
|
45
|
+
.TP
|
46
|
+
.B \-a, \-\-add ARCHIVE FILES...
|
47
|
+
Create the specified archive with the specified
|
48
|
+
files. You must specify only one archive.
|
49
|
+
.TP
|
50
|
+
.B \-x, \-\-extract ARCHIVE
|
51
|
+
Extract all the files on the specified archive. You
|
52
|
+
must specify only one archive.
|
53
|
+
.TP
|
54
|
+
.B \-l, \-\-list ARCHIVES...
|
55
|
+
List the content of the specified archives.
|
56
|
+
.TP
|
57
|
+
.B \-z, \-\-recompress ARCHIVES...
|
58
|
+
Recompress the specified archives. If the \-1, \-2,
|
59
|
+
\-3, \-4 options are specified, it\'s used the smallest file
|
60
|
+
choice from: the previous compressed data, the new
|
61
|
+
compression and the uncompressed format. If the \-0
|
62
|
+
option is specified the archive is always rewritten
|
63
|
+
without any compression.
|
64
|
+
.TP
|
65
|
+
.B \-t, \-\-test ARCHIVES...
|
66
|
+
Test the specified archives. The tests may be
|
67
|
+
extended with the \-p option.
|
68
|
+
.TP
|
69
|
+
.B \-k, \-\-keep\-file\-time
|
70
|
+
When recompressing with \-z keep the .zip file time.
|
71
|
+
.TP
|
72
|
+
.B \-p, \-\-pedantic
|
73
|
+
Be pedantic on the zip tests. If this flag is
|
74
|
+
enabled some more extensive tests on the zip
|
75
|
+
integrity are done. These tests are generally not
|
76
|
+
done by other zip utilities.
|
77
|
+
.TP
|
78
|
+
.B \-0, \-\-shrink\-store
|
79
|
+
Disable the compression. The file is
|
80
|
+
only stored and not compressed. This option is
|
81
|
+
very useful to expand the archives of .png and .mp3
|
82
|
+
files. These files are already compressed, trying to
|
83
|
+
compress them another time is really a waste of time
|
84
|
+
and resource.
|
85
|
+
.TP
|
86
|
+
.B \-1, \-\-shrink\-fast
|
87
|
+
Set the compression level to \[dq]fast\[dq] using the zlib
|
88
|
+
compressor.
|
89
|
+
.TP
|
90
|
+
.B \-2, \-\-shrink\-normal
|
91
|
+
Set the compression level to \[dq]normal\[dq] using the 7z
|
92
|
+
compressor.
|
93
|
+
This is the default level of compression.
|
94
|
+
.TP
|
95
|
+
.B \-3, \-\-shrink\-extra
|
96
|
+
Set the compression level to \[dq]extra\[dq] using the 7z
|
97
|
+
compressor.
|
98
|
+
You can define the compressor iterations with
|
99
|
+
the \-i, \-\-iter option.
|
100
|
+
.TP
|
101
|
+
.B \-4, \-\-shrink\-insane
|
102
|
+
Set the compression level to \[dq]insane\[dq] using the zopfli
|
103
|
+
compressor.
|
104
|
+
You can define the compressor iterations with
|
105
|
+
the \-i, \-\-iter option.
|
106
|
+
.TP
|
107
|
+
.B \-i, \-\-iter N
|
108
|
+
Define an additional numer of iterations for the 7z and zopfli
|
109
|
+
compressors for modes \-3 and \-4.
|
110
|
+
More iterations usually give a better compression, but may
|
111
|
+
require a lot more time.
|
112
|
+
Try for example with 10, 15, 20, and so on.
|
113
|
+
.SH COPYRIGHT
|
114
|
+
This file is Copyright (C) 2002 Andrea Mazzoleni, Filipe Estima
|
115
|
+
.SH SEE ALSO
|
116
|
+
advpng(1), advmng(1), advdef(1)
|
Binary file
|