Skip to main content
nminh.1
Visitor II
August 10, 2021
Question

How to make a screenshot function with touchGFX ?

  • August 10, 2021
  • 1 reply
  • 1039 views

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.

This topic has been closed for replies.

1 reply

Romain DIELEMAN
ST Employee
September 9, 2021

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