pngquant: add page (#9525)

pull/1/head
BasicAcid 2022-11-19 11:29:27 +01:00 committed by GitHub
parent 79ffaa3d1d
commit 253cdc5b12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

36
pages/common/pngquant.md Normal file
View File

@ -0,0 +1,36 @@
# pngquant
> PNG converter and lossy image compressor.
> More information: <https://pngquant.org/>.
- Compress a specific PNG as much as possible and write result to a new file:
`pngquant {{path/to/file.png}}`
- Compress a specific PNG and override original:
`pngquant --ext .png --force {{path/to/file.png}}`
- Try to compress a specific PNG with custom quality (skip if below the min value):
`pngquant --quality {{0-100}} {{path/to/file.png}}`
- Compress a specific PNG with the number of colors reduced to 64:
`pngquant {{64}} {{path/to/file.png}}`
- Compress a specific PNG and skip if the file is larger than the original:
`pngquant --skip-if-larger {{path/to/file.png}}`
- Compress a specific PNG and remove metadata:
`pngquant --strip {{path/to/file.png}}`
- Compress a specific PNG and save it to the given path:
`pngquant {{path/to/file.png}} --output {{path/to/file.png}}`
- Compress a specific PNG and show progress:
`pngquant --verbose {{path/to/file.png}}`