Expose ljpeg decoder
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 379
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
There's a ljpeg decoder here, but it's not exposed and not used in any way yet
https://github.com/pedrocr/rawloader/blob/master/src/decoders/mod.rs#L73
Is it possible to make it public? This decoder is unique because at the moment it's the only library in pure rust able to decode lossless jpeg. As a result, it's usable in webassembly context.
In addition, there's a decode_ljpeg_2components, but no decode_ljpeg_1components. I made a simple version of decode_ljpeg_1components function, would you mind reviewing it if I submit a pr?
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 in src/decoders/mod.rs at the referenced decoder entry. Review how the existing ljpeg decoder and decode_ljpeg_2components function are exposed, then compare the proposed decode_ljpeg_1components function with that API. Done means the ljpeg decoder is publicly usable and the one-component case has a reviewed, consistent entry point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100