Is the optimize.print_gain option applied to the pngquant utility? #6454
Answered
by
squidfunk
AnastasiaTWW
asked this question in
Q&A
-
Is this option https://squidfunk.github.io/mkdocs-material/plugins/optimize/#config.print_gain expected to be applied to the pngquant output? I've set it to false but the number of bytes gained after optimizing each file is printed. If not, probably it should be mentioned in the documentation. |
Beta Was this translation helpful? Give feedback.
Answered by
squidfunk
Dec 7, 2023
Replies: 1 comment 5 replies
-
Could you please attach a minimal reproduction? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah I see. No, so
print_gain
doesn't disable the log message, but it only disables that computation of the gain, i.e.,↓ 5%
. I believe the log messages are useful to show what the plugin does, i.e., that it actually compressed the images. We could in theory make logging configurable, but I'm not sure why? From our docs: