android / android/ndk

Bitmap C++ wrapper API

Open
#822 1 comment 0 reactions 0 assignees View on GitHub
c++ wrapper request
Dominant language
No language data
Stars
2.3k
Forks
310
PR merge metrics
No merged PRs in 30d

Description

Forked from https://github.com/android-ndk/ndk/issues/476

Possible API:

```C++
namespace android::graphics {
class Bitmap final {
public:
Bitmap (JNIEnv *env, jobject jbitmap);
~Bitmap (); // Use RAII to release the bitmap/unlock it

int getInfo (AndroidBitmapInfo& info);
int lockPixels (void **addrPtr);
int unlockPixels ();

// other nice to have, 2D drawing member functions
};
}
```

Contributor guide

Open the contributing guide

Research direction

The issue names no repository files, tests, or entry points. Read the linked Android NDK issue 476 and evaluate the proposed Bitmap API, including RAII and the optional drawing functions. Done requires an agreed scope and an implemented, reviewed C++ wrapper API.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.