1AdvanceCOMP PNG Compression UGteinleirtayl(1C)ommaAnddvsanMcaenCuOaMlP PNG Compression Utility(1)
2
3
4
6 advpng - AdvanceCOMP PNG Compression Utility
7
9 advpng [-l, --list] [-z, --recompress] [-0, --shrink-0]
10 [-1, --shrink-fast] [-2, --shrink-normal [-3, --shrink-extra]
11 [-4, --shrink-insane] [-i, --iter N]
12 [-f, --force] [-q, --quiet]
13 [-h, --help] [-V, --version] FILES...
15 The main purpose of this utility is to recompress png files to get the
16 smallest possible size.
17
18 Please note that this utility is not able to read a generic file. It´s
19 granted to be able to read only the files generated by the AdvanceMAME
20 emulator.
21
22 To compress the files this utility uses the following strategies:
23 · Remove all ancillary chunks.
24 · Concatenate all the IDAT chunks.
25 · Use the 7zip Deflate implementation.
26
28 -l, --list FILES...
29 List the content of the specified files.
30
31 -z, --recompress FILES...
32 Recompress the specified files. If the -1, -2, -3 options are
33 specified it´s used the smallest file choice from the previous
34 compressed data and the new compression. If the -0 option is
35 specified the file is always rewritten without any compression.
36
37 -0, --shrink-store
38 Disable the compression. The file is only stored and not com‐
39 pressed. The file is always rewritten also if it´s bigger.
40
41 -1, --shrink-fast
42 Set the compression level to "fast" using the zlib compressor.
43
44 -2, --shrink-normal
45 Set the compression level to "normal" using the libdeflate com‐
46 pressor. This is the default level of compression.
47
48 -3, --shrink-extra
49 Set the compression level to "extra" using the 7z compressor.
50 You can define the compressor iterations with the -i, --iter
51 option.
52
53 -4, --shrink-insane
54 Set the compression level to "insane" using the zopfli compres‐
55 sor. You can define the compressor iterations with the -i,
56 --iter option.
57
58 -i, --iter N
59 Define an additional numer of iterations for the 7z and zopfli
60 compressors for modes -3 and -4. More iterations usually give a
61 better compression, but may require a lot more time. Try for
62 example with 10, 15, 20, and so on.
63
64 -f, --force
65 Force the use of the new file also if it´s bigger.
66
68 This file is Copyright (C) 2002 Andrea Mazzoleni, Filipe Estima
69
71 advzip(1), advmng(1), advdef(1)
72
73
74
75 AdvanceCOMP PNG Compression Utility(1)