forked from mrgeneralgoo/picgo-plugin-compress-webp-lossless
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
baad735
commit 6f6f915
Showing
4 changed files
with
146 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"reset": "not", | ||
"warn": [ | ||
"Do not modify this file unless you know what you are doing.", | ||
"If you modify or delete the `reset` option, the file will be reset the next time it is accessed", | ||
"You can use the url below to learn how to configure" | ||
], | ||
"module": { | ||
"imagemin-upng": { | ||
"url": "https://www.npmjs.com/package/imagemin-upng#api", | ||
"option": { "cnum": 256 }, | ||
"recommend": [{ "cnum": 0 }, { "cnum": 2048 }, { "cnum": 1024 }, { "cnum": 512 }, { "cnum": 256 }], | ||
"annotation": [ | ||
"The cnum option is the number of colors in the palette (0=lossless). ", | ||
"The larger the cnum value, the richer the color, the larger the file." | ||
] | ||
}, | ||
"imagemin-mozjpeg": { | ||
"url": "https://www.npmjs.com/package/imagemin-mozjpeg#api", | ||
"option": { "quality": 75, "progressive": true }, | ||
"recommend": [ | ||
{ "quality": 85, "progressive": true, "tune": "ms-ssim" }, | ||
{ "quality": 65, "progressive": true, "tune": "hvs-psnr" }, | ||
{ "quality": 45, "progressive": true, "trellis": false, "trellisDC": false } | ||
], | ||
"annotation": ["The smaller the mass, the larger the unit block"] | ||
}, | ||
"imagemin-webp": { | ||
"url": "https://www.npmjs.com/package/imagemin-webp#api", | ||
"option": { "quality": 80, "method": 6 }, | ||
"recommend": [ | ||
{ "method": 6, "lossless": true, "autoFilter": true }, | ||
{ "quality": 100, "method": 6 }, | ||
{ "quality": 90, "method": 6 }, | ||
{ "quality": 80, "method": 6 }, | ||
{ "quality": 70, "method": 6 } | ||
], | ||
"annotation": [ | ||
"Lossless compression of detailed images, webp volume will be greatly improved.", | ||
"The imagemin-webp and the webp-converter-cwebp use the same webp converter", | ||
"-af === autoFilter" | ||
] | ||
}, | ||
"imagemin-gif2webp": { | ||
"url": "https://www.npmjs.com/package/imagemin-gif2webp#api", | ||
"option": { "quality": 80, "method": 6, "lossy": true, "minimize": true }, | ||
"recommend": [ | ||
{ "quality": 70, "method": 6, "lossy": true }, | ||
{ "quality": 60, "method": 6, "lossy": true } | ||
] | ||
}, | ||
"webp-converter-cwebp": { | ||
"url": "https://developers.google.com/speed/webp/docs/cwebp", | ||
"option": "-q 80 -m 6 -mt -af", | ||
"recommend": [ | ||
"-lossless -m 6 -mt", | ||
"-q 100 -m 6 -mt -af", | ||
"-q 90 -m 6 -mt -af", | ||
"-q 80 -m 6 -mt -af", | ||
"-q 70 -m 6 -mt -af" | ||
], | ||
"annotation": [ | ||
"Lossless compression of detailed images, webp volume will be greatly improved.", | ||
"The imagemin-webp and the webp-converter-cwebp use the same webp converter", | ||
"-af === autoFilter" | ||
] | ||
}, | ||
"webp-converter-gwebp": { | ||
"url": "https://developers.google.com/speed/webp/docs/gif2webp", | ||
"option": "-q 80 -m 6 -lossy -min_size", | ||
"recommend": ["-q 70 -m 6 -lossy", "-q 60 -m 6 -lossy"] | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.