Remember me

Lost Password?

Register now!


Who's Online
37 user(s) are online (22 user(s) are browsing Forums)

Members: 0
Guests: 37


Support us!


Report message:*

Re: Displaying animated GIFs / PNGs

Subject: Re: Displaying animated GIFs / PNGs
by Chris on 2020/12/3 20:01:00

Note that there are two GIF Anim data types. One is a picture subclass, the other is a animation subclass.

I don't think you can realistically attach either to a window although it probably depends on exactly what you are trying to achieve.

You either need to decode the frames through data types (but that depends on knowing whether you have picture or animation data, and handle it differently for each), or use your own decoding routine (or a 3rd party library - libnsgif is small and easy to use). In either case you will need to manually update the data in the window for each frame.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project