Add `ImageKind::RAW` or some other ways to pass in `Pixmap`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.1k
- Forks
- 348
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 3
Description
I was looking for #1094 but the scope changed, so I am opening this.
The reality is that I have a QOI encoded image in memory but I wouldn't ask for this project to support every strange encoding
the users come up with, so I decode it myself and I would like to avoid re-encoding it to PNG and just pass the RGBA buffer.
This sounds to me as the most reasonable way to improve support for every type of in-memory image, letting the decoding out of the scope of the project.
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
Review the existing ImageKind and Pixmap APIs to understand how image data is currently passed into resvg. Define a way to provide an in-memory RGBA buffer without re-encoding it as PNG, and verify that the resulting rendering path accepts the buffer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100