cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a screenshot function with touchGFX ?

nminh.1
Associate

Hi all,

This is my configuration:

STM32F779NIHX motherboard with HDMI Interface, SD card

TOUCHGFX 4.16.1

STM32CubeIDE 1.6.0

RTOS V1

Everything works well, and now I want to make a screenshot (JPEG format) every 500ms or 1sec and save on the SD card. Someone already worked, can you share your source code?

thank you and best regards.

1 REPLY 1
Romain DIELEMAN
ST Employee

Hi,

Digging this up a bit. Were you able to develop what you wanted ? This could be of interest to other people if you succeeded.

I have never made one myself but I know that TouchGFX has the snapshot widget (look for SnapshotWidget.cpp/hpp in the framework folder) that takes a snapshot of the screen or area wanted into a bitmap.

/Romain