Intervention / Intervention/image-driver-vips
Implement QuantizeColorsModifier::class
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 51
- Forks
- 7
- Avg merge
- 16h 42m
- Merged PRs (30d)
- 11
Description
Describe the feature you'd like
Implementation of Intervention\Image\Drivers\Vips\Modifiers\QuantizeColorsModifier::class. Used in Image::reduceColor()
It is currently unclear whether this is even possible with libvips. Color reduction/quantization could only be possible in the encoding output via the bit-depth AFAIK.
Contributor guide
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 by inspecting the referenced Intervention\Image\Drivers\Vips\Modifiers\QuantizeColorsModifier class and the Image::reduceColor() entry point. Check whether libvips supports the requested color quantization, including whether encoding bit depth is relevant. Done means determining a viable implementation path or documenting that the feature cannot be supported by this driver.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100