‎2019-09-19 07:25 AM
Is it possible to use .gif format files in TouchGFX?
Solved! Go to Solution.
‎2019-09-19 11:34 PM
Hi @PBU​,
.gif files aren't supported directly, but you can use some third party tool to extract all your frames from a gif and then use them in an
AnimatedImage
It's available through the designer; Try it out, if you haven't already. Basically what you'll do is name your images myimage_0.png through myimage_N.png, where N is the number (and image) in the sequence. You'll tell TouchGFX what the start and end image is and it'll cycle through them all - either once, looped, reversed, etc.
/Martin
‎2019-09-19 11:34 PM
Hi @PBU​,
.gif files aren't supported directly, but you can use some third party tool to extract all your frames from a gif and then use them in an
AnimatedImage
It's available through the designer; Try it out, if you haven't already. Basically what you'll do is name your images myimage_0.png through myimage_N.png, where N is the number (and image) in the sequence. You'll tell TouchGFX what the start and end image is and it'll cycle through them all - either once, looped, reversed, etc.
/Martin
‎2019-09-19 11:42 PM
Hi Martin,
Thank you. I'm already using AnimatedImage by using set of .png images as you said. I would like to know is there anyway to load .gif directly :grinning_face:
‎2019-09-19 11:50 PM
> .gif files aren't supported directly
There isn't. At most the designer might include some tool to do the frame split for you, but that's pretty far down the list :)
/Martin