[docs/example] example on how to interoperate with code expecting pixels as raw data
- Dominant language
- C++
- Stars
- 199
- Forks
- 171
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 10
Description
A common task is to interoperate with code expecting data as raw bytes, eg as a single contiguous array or as an array of padded scanlines.
It would be great to have an example and an entry in the docs.
I'd be happy to make a contribution but the reason I'm asking about it is that I'm not exactly sure how best to do it, short of just copying pixel-by-pixel.
Contributor guide
Research direction
Start by locating the existing examples and documentation for pixel storage and raw image data. Compare the contiguous-array and padded-scanline cases described in the issue, then document and demonstrate the supported interoperability approach; done means both cases have a clear example and documentation entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100