Skip to main content
PPanc.1
Associate II
August 25, 2020
Question

How can I generate PNG images file convert to JPEG in TouchGFX?

  • August 25, 2020
  • 4 replies
  • 1558 views

Hello,

I'm using TouchGFX Tool and for Screen creation I put all PNG image to asset of TouchGFX Designer.

From TouchGFX all Images are store into the External Flash Section by create separate partition from STM32xxx.ld.

Now all stored images I want to convert it from ScreenView.cpp using JPEG library functions.

I refer TouchGFX online support for #Loading JPEG files https://support.touchgfx.com/docs/development/ui-development/scenarios/loading-images-at-runtime/

but github permission not there.

So,kindly give me suggestion how can I generate JPEG from PNG in ScreenView.cpp.

Please suggest me any library or Example.

Thank you.

Regards,

Pratik

This topic has been closed for replies.

4 replies

Alexandre RENOUX
Visitor II
September 7, 2020

Hello,

Thank you for your feedback. Indeed, the link is broken on the documentation website. This git repo does no longer exist.

Here is another link to access the project using LibJPEG : https://github.com/touchgfx/touchgfx-open-repository/tree/d6c8086103ca0d4da37784bfb3b64c00a5b8b335/app/example/JPEG_file_loader

In the next release in a few weeks, the link on the website will probably directly point to a zip file.

/Alexandre

PPanc.1
PPanc.1Author
Associate II
September 25, 2020

Hello STM Team,

I've a new question related to Touchgfx.

I'm working on STM32 based custom pcb with interface 800x480 LCD.

I able to add transition from west to east from screens interactions.

But if screen perform then my screen will vibrate then transit to next screen.

So, if I want to smoothly transition of screen then which changes required ?

Regards,

Pratik

Alexandre RENOUX
Visitor II
September 25, 2020

Hello,

Could you please create a new post for your request ? It is unrelated to the current subject.

Sorry but please elaborate your issue in your new post, I don't understand your problem from what you've written.

/Alexandre

PPanc.1
PPanc.1Author
Associate II
September 25, 2020

Ok fine.

Thank you.