~ubuntu-branches/ubuntu/trusty/advancecomp/trusty

« back to all changes in this revision

Viewing changes to doc/advpng.txt

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ozarowski
  • Date: 2006-05-13 21:15:49 UTC
  • Revision ID: james.westby@ubuntu.com-20060513211549-2vu7peis643ojcm5
Tags: upstream-1.15
ImportĀ upstreamĀ versionĀ 1.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
                      ===================================
 
2
                      AdvanceCOMP PNG Compression Utility
 
3
                      ===================================
 
4
 
 
5
 
 
6
1 SYNOPSIS
 
7
==========
 
8
 
 
9
advpng [-l, --list] [-z, --recompress] [-0, --shrink-0]
 
10
        [-1, --shrink-fast] [-2, --shrink-normal [-3, --shrink-extra]
 
11
        [-4, --shrink-insane] [-f, --force] [-q, --quiet]
 
12
        [-h, --help] [-V, --version] FILES...
 
13
 
 
14
 
 
15
2 DESCRIPTION
 
16
=============
 
17
 
 
18
The main purpose of this utility is to recompress png
 
19
files to get the smallest possible size.
 
20
 
 
21
Please note that this utility is not able to read
 
22
a generic file. It's granted to be able to read only
 
23
the files generated by the AdvanceMAME emulator.
 
24
 
 
25
To compress the files this utility uses the following
 
26
strategies:
 
27
 
 
28
* Remove all ancillary chunks.
 
29
* Concatenate all the IDAT chunks.
 
30
* Use the 7zip Deflate implementation.
 
31
 
 
32
 
 
33
3 OPTIONS
 
34
=========
 
35
 
 
36
    -l, --list FILES...
 
37
        List the content of the specified files.
 
38
 
 
39
    -z, --recompress FILES...
 
40
        Recompress the specified files. If the -1, -2, -3
 
41
        options are specified it's used the smallest file
 
42
        choice from the previous compressed data and the
 
43
        new compression. If the -0 option is specified the
 
44
        file is always rewritten without any compression.
 
45
 
 
46
    -0, --shrink-store
 
47
        Disable the compression. The file is
 
48
        only stored and not compressed. The file is always
 
49
        rewritten also if it's bigger.
 
50
 
 
51
    -1, --shrink-fast
 
52
        Set the compression level to "fast".
 
53
 
 
54
    -2, --shrink-normal
 
55
        Set the compression level to "normal". This is the
 
56
        default level of compression.
 
57
 
 
58
    -3, --shrink-extra
 
59
        Set the compression level to "extra".
 
60
 
 
61
    -4, --shrink-insane
 
62
        Set the compression level to "insane".
 
63
 
 
64
    -f, --force
 
65
        Force the use of the new file also if it's bigger.
 
66
 
 
67
 
 
68
4 COPYRIGHT
 
69
===========
 
70
 
 
71
This file is Copyright (C) 2002 Andrea Mazzoleni, Filipe Estima
 
72
 
 
73
 
 
74
5 SEE ALSO
 
75
==========
 
76
 
 
77
advzip(1), advmng(1), advdef(1)