DescriptionSkip optipng if it reduced the color type from rgb to grayscale/grayscale+alpha.
There seems to be a bug in optipng's bit depth reduction when coverting to grayscale.
We don't know exact condition, but its savings is relatively small, so
we should just skip this process for grayscale images.
BUG=174505
TEST=none
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181170
Patch Set 1 : #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Total comments: 2
Patch Set 4 : use file #Patch Set 5 : use file #
Total comments: 2
Messages
Total messages: 9 (0 generated)
|