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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

1,740 Views
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 Kudos
1 Reply

292 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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 Kudos