ImageMagick / ImageMagick/Website
WebP Encoding Options - unclear example
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 44
- Forks
- 67
- Avg merge
- 20h 9m
- Merged PRs (30d)
- 17
Description
https://imagemagick.org/script/webp.php uses -quality 50 with lossless. But if I understand correctly, -quality corresponds to "compression rate" in this case?
https://github.com/webmproject/libwebp/blob/main/doc/tools.md
quality parameter will in this case control the amount of processing time spent trying to make the output file as small as possible
It might make sense to give two examples (for lossy and lossless) and clarify -quality parameter for lossless case.
Also, 50 seems a bit low, maybe it should be a higher value or max value (99?).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the WebP page at imagemagick.org/script/webp.php and compare its -quality example with the referenced libwebp tools documentation. Done means the page clearly distinguishes lossy and lossless examples and explains what -quality controls for lossless encoding, including whether the example value should change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100