how to display a picutre onn screen in linux

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to display a picutre onn screen in linux

4,038件の閲覧回数
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,603件の閲覧回数
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,603件の閲覧回数
强王
Contributor IV

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

0 件の賞賛
返信

2,603件の閲覧回数
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 件の賞賛
返信