IMX write .png iamge file to /dev/fb0 to display on LVDS interface

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

IMX write .png iamge file to /dev/fb0 to display on LVDS interface

3,184 次查看
shyamshankar
Contributor II

Hi,

I wanted to display a .png image onto the LVDS display of IMX6.
I have connected a LCD Display to the LVDS display interface. The fbtest works fine with different images being displayed.
But I need to write a program which writes the contents of my .png image file onto the framebuffer (/dev/fb0)

I tried searching for the fbtest source code that displays the images, but only found fbtest.c files that displayed various colors or wrote pixels directly onto the fb0.
How would I go about doing this??? 

0 项奖励
回复
1 回复

1,736 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Shyam

seems it should be converted to rgb as in imx-test/test/mxc_fb_test

www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz

please use multimedia chapter in attached Linux Guide or for example

IMX5X - How to Show JPEG (or PNG) with GStreamer 

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

0 项奖励
回复