how to display a picutre onn screen in linux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to display a picutre onn screen in linux

3,738 次查看
freescaleusr1
Contributor I

Hi,

I want to use wandboard solo to work with my lcd panel, the board run core-image-minimal of linux image, no grapic desktop  just commandline, how to display a picture on screen.

it is command like : cat a.bmp >fb0 ???? any picture format is ok, just need to display a image on screen to debug lvds interface of imx6. looking forward to help, thanks.

标签 (3)
0 项奖励
回复
3 回复数

2,303 次查看
b36401
NXP Employee
NXP Employee

For debug purposes you can use raw framebuffer dump:

# dd if=screen.raw of=/dev/fb0

Have a great day,

Victor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

2,303 次查看
强王
Contributor IV

dd if=a.bmp of=/dev/fb0 bs=1 skip=54

0 项奖励
回复

2,303 次查看
saurabh206
Senior Contributor III

Hi

DD only work with bmp or raw image.

for jpeg or other format you can use gstreamer plugin.

gst-launch filesrc location=mc.jpg ! jpegdec ! freeze ! mfw_isink

Thanks

Saurabh

0 项奖励
回复