rstackjs / rstackjs/rsbuild-plugin-image-compress
Some png file in my project using pngQuantize will throw `quantize failed QUALITY_TOO_LOW`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 25
- Forks
- 2
- Avg merge
- 2h 58m
- Merged PRs (30d)
- 7
Description
Some png file in my project using pngQuantize will throw quantize failed QUALITY_TOO_LOW, cause build failed.
can we have a fallback option that when some compress failed we can use original image or use another compress method instead(in my case, change to pngLossless worked) to make build continue?
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
No file or test is named. Start by tracing the plugin's pngQuantize path and the available pngLossless path; clarify whether a failed compression should retain the original image or switch methods, then verify that a QUALITY_TOO_LOW image no longer aborts the build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100