cancel
Showing results for 
Search instead for 
Did you mean: 

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

PPanc.1
Associate II

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

4 REPLIES 4
Alexandre RENOUX
Principal

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
Associate II

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
Principal

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
Associate II

Ok fine.

Thank you.