ffmpeg - How to parse raw file extracted from system/bin/fb0 to .png file in android -
i know question asked on stack overflow, none helped. wanted extract screenshot of app programatically, managed raw formatted image dev/graphics/fb0 rooted device. when opened image, looked shown below.
i thankful if provide, solution convert raw image .png format.
above image screen shot of this.
i had converted raw image png using imagemagick ->installed image magick ->from have taken convert exe file [ renamed convertim]and placed within c drive windows folder
enter next command in command promptconvertim -depth 8 -size 480x272 rgba:c:\test\rawimagename.raw -separate -swap 0,2 -combine c:\test\mockimage.png
480x272 ( resolution ) -depth 8 ( changes depends on resolution)
android ffmpeg screenshot framebuffer android-screen
No comments:
Post a Comment