Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cybertk/android-fb2png
Capture framebuffer and save it in png format
https://github.com/cybertk/android-fb2png
Last synced: about 2 months ago
JSON representation
Capture framebuffer and save it in png format
- Host: GitHub
- URL: https://github.com/cybertk/android-fb2png
- Owner: cybertk
- License: other
- Created: 2015-03-13T00:35:43.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-08T02:50:53.000Z (over 9 years ago)
- Last Synced: 2024-04-14T23:28:38.409Z (9 months ago)
- Language: C
- Homepage:
- Size: 536 KB
- Stars: 54
- Watchers: 9
- Forks: 21
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# android-fb2png
> Capture framebuffer of Android and save it in png format.
## Features
- Run CLI on both PC and Mobile side.
- Support both emulator and device.
- API can be easily embedded into c code.## Getting started
### PC Side
Download prebuilt version adb_screenshoot from here: http://code.google.com/p/android-fb2png/downloads/
Capture Android's screen and save it into the current working directory.
```bash
adb_screenshoot
```### Device Side
Download prebuilt version fb2png from here: http://code.google.com/p/android-fb2png/downloads/
Push to device/emulator and grant execute permission
```bash
adb push fb2png /data/local/
adb shell chmod 755 /data/local/fb2png
```Capture screen and save to /data/local/fbdump.png
```bash
adb shell /data/local/fb2png /data/local/fbdump.png
```Pull the screenshot back
```bash
adb pull /data/local/fbdump.png
```Then you can view it with your favorite image viewer