开发板截屏问题

使用命令:
cat /dev/fb0 > shot.bgra
生成shot.brga文件,然后将shot.bgra文件复制或者移动到本地,用convert命令进行转换下,
convert -size 1920*1080 -depth 8 shot.bgra shot.png

一般情况下是能正常转换的,如果有其他报错,则可能是因为convert版本问题导致失败的,版本过老,

猜你喜欢

转载自blog.csdn.net/xi__q/article/details/60573783