.TH "AdvanceCOMP PNG Compression Utility" 1 .SH NAME advpng \- AdvanceCOMP PNG Compression Utility .SH SYNOPSIS advpng [\-l, \-\-list] [\-z, \-\-recompress] [\-0, \-\-shrink\-0] .PD 0 .PP .PD [\-1, \-\-shrink\-fast] [\-2, \-\-shrink\-normal [\-3, \-\-shrink\-extra] .PD 0 .PP .PD [\-4, \-\-shrink\-insane] [\-i, \-\-iter N] .PD 0 .PP .PD [\-f, \-\-force] [\-q, \-\-quiet] .PD 0 .PP .PD [\-h, \-\-help] [\-V, \-\-version] FILES... .PD 0 .PP .PD .SH DESCRIPTION The main purpose of this utility is to recompress png files to get the smallest possible size. .PP Please note that this utility is not able to read a generic file. It\'s granted to be able to read only the files generated by the AdvanceMAME emulator. .PP To compress the files this utility uses the following strategies: .PD 0 .IP \(bu Remove all ancillary chunks. .IP \(bu Concatenate all the IDAT chunks. .IP \(bu Use the 7zip Deflate implementation. .PD .SH OPTIONS .TP .B \-l, \-\-list FILES... List the content of the specified files. .TP .B \-z, \-\-recompress FILES... Recompress the specified files. If the \-1, \-2, \-3 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. .TP .B \-0, \-\-shrink\-store Disable the compression. The file is only stored and not compressed. The file is always rewritten also if it\'s bigger. .TP .B \-1, \-\-shrink\-fast Set the compression level to \[dq]fast\[dq] using the zlib compressor. .TP .B \-2, \-\-shrink\-normal Set the compression level to \[dq]normal\[dq] using the libdeflate compressor. This is the default level of compression. .TP .B \-3, \-\-shrink\-extra Set the compression level to \[dq]extra\[dq] using the 7z compressor. You can define the compressor iterations with the \-i, \-\-iter option. .TP .B \-4, \-\-shrink\-insane Set the compression level to \[dq]insane\[dq] using the zopfli compressor. You can define the compressor iterations with the \-i, \-\-iter option. .TP .B \-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. .TP .B \-f, \-\-force Force the use of the new file also if it\'s bigger. .SH COPYRIGHT This file is Copyright (C) 2002 Andrea Mazzoleni, Filipe Estima .SH SEE ALSO advzip(1), advmng(1), advdef(1)