Note that iDOT will always be stripped
This commit is contained in:
parent
71baade6d4
commit
da3dfe0733
1 changed files with 7 additions and 3 deletions
10
src/cli.rs
10
src/cli.rs
|
|
@ -133,10 +133,14 @@ Strip metadata chunks, where <mode> is one of:
|
||||||
|
|
||||||
CAUTION: 'all' will convert APNGs to standard PNGs.
|
CAUTION: 'all' will convert APNGs to standard PNGs.
|
||||||
|
|
||||||
Note that 'bKGD', 'sBIT' and 'hIST' will be forcibly stripped if the color type or bit \
|
Please note that regardless of any options set, some chunks will necessarily be stripped \
|
||||||
depth is changed, regardless of any options set.
|
when invalidated by the optimization:
|
||||||
|
bKGD, sBIT, hIST: Stripped if the color type or bit depth changes.
|
||||||
|
iDOT: Always stripped.
|
||||||
|
caBX: Stripped if it contains C2PA metadata. If explicitly retained by `--keep`, \
|
||||||
|
optimization will be aborted.
|
||||||
|
|
||||||
The default when --strip is not passed is to keep all metadata.",
|
The default when --strip is not passed is to keep all chunks that remain valid.",
|
||||||
DISPLAY_CHUNKS
|
DISPLAY_CHUNKS
|
||||||
.iter()
|
.iter()
|
||||||
.map(|c| String::from_utf8_lossy(c))
|
.map(|c| String::from_utf8_lossy(c))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue