File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ Add the following arguments to the workflow definition to control compression se
7575with:
7676 jpegQuality: '85'
7777 jpegProgressive: false
78- pngQuality: '90 '
78+ pngQuality: '80 '
7979 webpQuality: '85'
8080 avifQuality: '75'
8181` ` `
8484
8585- [jpegQuality](https://sharp.pixelplumbing.com/api-output/#jpeg): Number, integer 1-100, default 85 stored in a string.
8686- [jpegProgressive](https://sharp.pixelplumbing.com/api-output/#jpeg): Boolean, true or false, default false.
87- - [pngQuality](https://sharp.pixelplumbing.com/api-output/#png): Number, integer 1-100, default 90 stored in a string.
87+ - [pngQuality](https://sharp.pixelplumbing.com/api-output/#png): Number, integer 1-100, default 80 stored in a string.
8888- [webpQuality](https://sharp.pixelplumbing.com/api-output/#webp): Number, integer 1-100, default 85 stored in a string.
8989- [avifQuality](https://sharp.pixelplumbing.com/api-output/#avif): Number, integer 1-100, default 75 stored in a string.
9090
@@ -304,6 +304,3 @@ Happy to hear you’re interested in contributing to Image Actions! Please find
304304## 💼 License
305305
306306This project is licensed under a [GNU General Public License](LICENSE).
307-
308-
309-
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ inputs:
2020 pngQuality :
2121 description : " PNG quality level"
2222 required : false
23- default : " 90 "
23+ default : " 80 "
2424
2525 webpQuality :
2626 description : " WEBP quality level"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const REPO_DIRECTORY = process.env['GITHUB_WORKSPACE']
99
1010const JPEG_QUALITY = parseInt ( core . getInput ( 'jpegQuality' ) ) || 85
1111const JPEG_PROGRESSIVE = core . getInput ( 'jpegProgressive' ) === 'true'
12- const PNG_QUALITY = parseInt ( core . getInput ( 'pngQuality' ) ) || 90
12+ const PNG_QUALITY = parseInt ( core . getInput ( 'pngQuality' ) ) || 80
1313const WEBP_QUALITY = parseInt ( core . getInput ( 'webpQuality' ) ) || 85
1414const AVIF_QUALITY = parseInt ( core . getInput ( 'avifQuality' ) ) || 75
1515
You can’t perform that action at this time.
0 commit comments