We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some obvious steps would be:
The text was updated successfully, but these errors were encountered:
For 1. and 2.:
shopt -s globstar for i in docs/**/*.png; do # imagemagick to convert to sRGB color profile convert "$i" -profile /usr/share/color/icc/colord/sRGB.icc -strip "$i" # @squoosh/cli to reduce file size npx squoosh-cli \ --quant '{"enabled": true, "zx": 0, "maxNumColors": 256, "dither": 1}' \ --oxipng '{"level":2,"interlace":false}' --output-dir "`dirname $i`" "$i" done
shopt -s globstar for i in docs/**/*.jpg; do # imagemagick to convert to sRGB color profile convert "$i" -profile /usr/share/color/icc/colord/sRGB.icc -strip "$i" # @squoosh/cli to reduce file size npx squoosh-cli --mozjpeg '{"quality":75}' --output-dir "`dirname $i`" "$i" done
Sorry, something went wrong.
No branches or pull requests
Some obvious steps would be:
The text was updated successfully, but these errors were encountered: