how to display a picutre onn screen in linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to display a picutre onn screen in linux

3,736 Views
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.

Labels (3)
0 Kudos
Reply
3 Replies

2,301 Views
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 Kudos
Reply

2,301 Views
强王
Contributor IV

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

0 Kudos
Reply

2,301 Views
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 Kudos
Reply