Skip to content

Commit 13d37a0

Browse files
committed
Regenerate manual
1 parent 8161b62 commit 13d37a0

File tree

1 file changed

+24
-17
lines changed

1 file changed

+24
-17
lines changed

MANUAL.txt

+24-17
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
oxipng 9.0.0
1+
oxipng 9.1.0
22
Losslessly improve compression of PNG files
33

44
Usage: oxipng [OPTIONS] <files>...
@@ -13,14 +13,14 @@ Options:
1313
compression. Lower levels are faster, higher levels provide better compression, though
1414
with increasingly diminishing returns.
1515

16-
0 => --zc 5 --fast (1 trial, determined heuristically)
17-
1 => --zc 10 --fast (1 trial, determined heuristically)
18-
2 => --zc 11 -f 0,1,6,7 --fast (4 fast trials, 1 main trial)
19-
3 => --zc 11 -f 0,7,8,9 (4 trials)
20-
4 => --zc 12 -f 0,7,8,9 (4 trials)
21-
5 => --zc 12 -f 0,1,2,5,6,7,8,9 (8 trials)
22-
6 => --zc 12 -f 0-9 (10 trials)
23-
max => (stable alias for the max level)
16+
0 => --zc 5 --fast (1 trial, determined heuristically)
17+
1 => --zc 10 --fast (1 trial, determined heuristically)
18+
2 => --zc 11 -f 0,1,6,7 --fast (4 fast trials, 1 main trial)
19+
3 => --zc 11 -f 0,7,8,9 (4 trials)
20+
4 => --zc 12 -f 0,7,8,9 (4 trials)
21+
5 => --zc 12 -f 0,1,2,5,6,7,8,9 (8 trials)
22+
6 => --zc 12 -f 0-9 (10 trials)
23+
max => (stable alias for the max level)
2424

2525
Manually specifying a compression option (zc, f, etc.) will override the optimization
2626
preset, regardless of the order you write the arguments.
@@ -54,18 +54,24 @@ Options:
5454
--strip <mode>
5555
Strip metadata chunks, where <mode> is one of:
5656

57-
safe => Strip all non-critical chunks, except for the following:
58-
cICP, iCCP, sRGB, pHYs, acTL, fcTL, fdAT
59-
all => Strip all non-critical chunks
60-
<list> => Strip chunks in the comma-separated list, e.g. 'bKGD,cHRM'
57+
safe => Strip all non-critical chunks, except for the following:
58+
cICP, iCCP, sRGB, pHYs, acTL, fcTL, fdAT
59+
all => Strip all non-critical chunks
60+
<list> => Strip chunks in the comma-separated list, e.g. 'bKGD,cHRM'
6161

6262
CAUTION: 'all' will convert APNGs to standard PNGs.
6363

6464
Note that 'bKGD', 'sBIT' and 'hIST' will be forcibly stripped if the color type or bit
6565
depth is changed, regardless of any options set.
66+
67+
The default when --strip is not passed is to keep all metadata.
6668

6769
--keep <list>
68-
Strip all metadata except in the comma-separated list
70+
Strip all metadata chunks except those in the comma-separated list. The special value
71+
'display' includes chunks that affect the image appearance, equivalent to '--strip safe'.
72+
73+
E.g. '--keep eXIf,display' will strip chunks, keeping only eXIf and those that affect the
74+
image appearance.
6975

7076
-a, --alpha
7177
Perform additional optimization on images with an alpha channel, by altering the color
@@ -76,9 +82,9 @@ Options:
7682
-i, --interlace <type>
7783
Set the PNG interlacing type, where <type> is one of:
7884

79-
0 => Remove interlacing from all images that are processed
80-
1 => Apply Adam7 interlacing on all images that are processed
81-
keep => Keep the existing interlacing type of each image
85+
0 => Remove interlacing from all images that are processed
86+
1 => Apply Adam7 interlacing on all images that are processed
87+
keep => Keep the existing interlacing type of each image
8288

8389
Note that interlacing can add 25-50% to the size of an optimized image. Only use it if you
8490
believe the benefits outweigh the costs for your use case.
@@ -110,6 +116,7 @@ Options:
110116
2 => Up
111117
3 => Average
112118
4 => Paeth
119+
113120
Heuristic strategies (try to find the best delta filter for each line)
114121
5 => MinSum Minimum sum of absolute differences
115122
6 => Entropy Highest Shannon entropy

0 commit comments

Comments
 (0)