cancel
Showing results for 
Search instead for 
Did you mean: 

Image display on STM32MP157C-DK2

NPal.2
Senior

HI ,

How can i display simple image on to the screen ?

Currently we have weston demo running. I am aware of how to stop it , but post that what command can i use to simply just display an image on to screen?

5 REPLIES 5
PatrickF
ST Employee

Hi,

i think this wiki page is what you are looking for:

https://wiki.st.com/stm32mpu/wiki/Wayland_Weston_overview#Display_some_images

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Olivier GALLIEN
ST Employee

Hi @NPal.2​ ,

You can use gstreamer framework. ( gst-launch command )

See old post : How to run BMP files using Linux yocto on STM32MP157C-DK2 board

Wiki : https://wiki.st.com/stm32mpu/wiki/GStreamer_overview

You have also an example in Starter package / Demo launcher.

The AI demo is displaying a picture on demand by doing :

"gst-launch-1.0 filesrc location=/usr/local/demo/media/stm32cubeai.png ! pngdec ! videoconvert ! imagefreeze ! waylandsink &"

See on target : /usr/local/demo/bin/apps_launcher_example.sh

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

THanks for answer @PatrickF​ . The information on the page was really helpful. But is there a way i can display image on screen, as full screen? Wasn't able to get that anywhere.

Hi,

I'm not specialist, and I'm not sure it is available on proposed examples.

weston-image is just for demo and show a 'window' image you can resize using mouse (you can try connecting a mouse to the DK2).

Otherwise please see https://wiki.st.com/stm32mpu/wiki/Wayland_Weston_overview#To_go_further

There is plenty of way to use the screen (see for instance GTK demo launcher, started with /usr/local/demo/demo_launcher.py)

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thanks @Community member​ , will check on my side, thanks.