File: advdef.d

package info (click to toggle)
advancecomp 1.19-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,864 kB
  • ctags: 1,959
  • sloc: cpp: 11,148; ansic: 5,972; sh: 3,670; makefile: 308
file content (73 lines) | stat: -rw-r--r-- 2,126 bytes parent folder | download | duplicates (2)
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
Name{number}
	advdef - AdvanceCOMP Deflate Compression Utility

Synopsis
	:advdef [-z, --recompress] [-0, --shrink-store]
	:	[-1, --shrink-fast] [-2, --shrink-normal] [-3, --shrink-extra]
	:	[-4, --shrink-insane] [-i, --iter N]
	:	[-f, --force] [-q, --quiet]
	:	[-h, --help] [-V, --version] FILES...

Description
	The main purpose of this utility is to recompress the
	data present in the .png, .mng, .gz, .tgz and .svgz
	files.

	The internal structure of the files isn't changed.
	Only the compressed data is modified.

Options
	-z, --recompress FILES...
		Recompress the specified files. If the -1, -2, -3, -4
		options are specified it's used the smallest file
		choice from the previous compressed data and the
		new compression. If the -0 option is specified the
		file is always rewritten without any compression.

	-0, --shrink-store
		Disable the compression. The file is
		only stored and not compressed. The file is always
		rewritten also if it's bigger.

	-1, --shrink-fast
		Set the compression level to "fast" using the zlib
		compressor.

	-2, --shrink-normal
		Set the compression level to "normal" using the 7z
		compressor.
		This is the default level of compression.

	-3, --shrink-extra
		Set the compression level to "extra" using the 7z
		compressor.
		You can define the compressor iterations with
		the -i, --iter option.

	-4, --shrink-insane
		Set the compression level to "insane" using the zopfli
		compressor.
		You can define the compressor iterations with
		the -i, --iter option.

	-i, --iter N
		Define an additional numer of iterations for the 7z and zopfli
		compressors for modes -3 and -4.
		More iterations usually give a better compression, but may
		require a lot more time.
		Try for example with 10, 15, 20, and so on.

	-f, --force
		Force the use of the new file also if it's bigger.

Limitations
	The advdef program cannot be used to recompress huge files
	because it needs to allocate memory for both the complete
	compressed and uncompressed data.

Copyright
	This file is Copyright (C) 2003, 2004 Andrea Mazzoleni

See Also
	advpng(1), advmng(1), advzip(1), gzip(1), bzip2(1)