cybertk / cybertk/android-fb2png

png is wrong

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
56
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I downloaded the fb2png and execute

```
cd /data/local
./fb2png fbdump.png
```

and I got the output

```
root@android:/data/local # ./fb2png fbdump.png
./fb2png fbdump.png
bpp : 4
width : 1080
height : 1920
pixel : 8294400
r_offset : 24
g_offset : 16
b_offset : 8
a_offset : 0
r_length : 8
g_length : 8
b_length : 8
a_length : 8
OKAY
```

after that I pulled the fbdump.png and look, but it seems png not convert right.

My phone is ZTE v988,

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the `./fb2png fbdump.png` command from `/data/local` on the reported ZTE v988 and inspect the generated `fbdump.png` alongside the displayed bpp, dimensions, and channel offsets. Start at the `fb2png` executable's framebuffer-format handling; done means the captured PNG renders correctly on this device and the issue includes enough output to verify the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.