1
- oxipng 9.0 .0
1
+ oxipng 9.1 .0
2
2
Losslessly improve compression of PNG files
3
3
4
4
Usage: oxipng [OPTIONS] <files>...
@@ -13,14 +13,14 @@ Options:
13
13
compression. Lower levels are faster, higher levels provide better compression, though
14
14
with increasingly diminishing returns.
15
15
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)
24
24
25
25
Manually specifying a compression option (zc, f, etc.) will override the optimization
26
26
preset, regardless of the order you write the arguments.
@@ -54,18 +54,24 @@ Options:
54
54
--strip <mode>
55
55
Strip metadata chunks, where <mode> is one of:
56
56
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'
61
61
62
62
CAUTION: 'all' will convert APNGs to standard PNGs.
63
63
64
64
Note that 'bKGD', 'sBIT' and 'hIST' will be forcibly stripped if the color type or bit
65
65
depth is changed, regardless of any options set.
66
+
67
+ The default when --strip is not passed is to keep all metadata.
66
68
67
69
--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.
69
75
70
76
-a, --alpha
71
77
Perform additional optimization on images with an alpha channel, by altering the color
@@ -76,9 +82,9 @@ Options:
76
82
-i, --interlace <type>
77
83
Set the PNG interlacing type, where <type> is one of:
78
84
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
82
88
83
89
Note that interlacing can add 25-50% to the size of an optimized image. Only use it if you
84
90
believe the benefits outweigh the costs for your use case.
@@ -110,6 +116,7 @@ Options:
110
116
2 => Up
111
117
3 => Average
112
118
4 => Paeth
119
+
113
120
Heuristic strategies (try to find the best delta filter for each line)
114
121
5 => MinSum Minimum sum of absolute differences
115
122
6 => Entropy Highest Shannon entropy
0 commit comments