boostorg / boostorg/gil

[docs/example] example on how to interoperate with code expecting pixels as raw data

Open
#781 6 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.