JamieMason / JamieMason/ImageOptim-CLI
feat(cli): add option to choose lossy optimisations
- Dominant language
- Rust
- Stars
- 3.5k
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
## Description
Having the option to specify the quality of processed images will be really useful:
## Suggested Solution
Right now the `--quality` parameter affects only ImageAlpha. Adding a few more properties:
`--jpeg-quality`
`--png-quality`
`--gif-quality`
to have control over the quality same as in the ImageOptim application would allow using lossy minification also from the CLI
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the CLI handling for the existing --quality option and trace how it reaches ImageAlpha. Compare those arguments with the quality controls in the ImageOptim application, then determine where --jpeg-quality, --png-quality, and --gif-quality should be accepted and applied. Done means each option controls lossy optimisation for its image type from the CLI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100