1. Animated GIF

Is there a way to show an animated gif?  The ways that I have found to show
gifs only show one frame of a gif.

Michelle Rogers

new topic     » topic index » view message » categorize

2. Re: Animated GIF

Michelle Rogers wrote:
> 
> Is there a way to show an animated gif?  The ways that I have found to show
> gifs only show one frame of a gif.
> 

This is not a trival exercise. I have found some C/C++ code for
loading GIF files and displaying them with animation, but it would
take me a while to convert them into Euphoria. If you want the
code it can be found at ...

 http://www.codeproject.com/staticctrl/gifanimation/AnimationGif_src.zip

or with transparency added ...

 http://www.codeproject.com/staticctrl/gifanimation/AnimationGifEx_src.zip

-- 
Derek Parnell
Melbourne, Australia

new topic     » goto parent     » topic index » view message » categorize

3. Re: Animated GIF

The only way is to load it in a browser like Mozilla... .

Therr is an Euphoria lib in the archive to create an animated GIF,
but as far as I know without possibility to display it.

Nave a nice day, Rolf

----------------------------------------------------
| Dr.Rolf Schröder |    E                     B    |
| DESY MST-1       |                C              |
| Notkestraße 85   |          D                    |
| D-22603 Hamburg  |                      A        |
| Earth            |-------------------------------|
| Solar System     | Phone : +49-40-8998-2628      |
| Milky Way        | Fax   : +49-40-8994-2628      |
| Local Group      | mailto:Rolf.Schroeder at DESY.de |
| Known Universe   | http://adweb.desy.de/~rolf    |
----------------------------------------------------

new topic     » goto parent     » topic index » view message » categorize

4. Re: Animated GIF

On 20 Jul 2004, at 0:05, Rolf Schr=F6der wrote:

>=20
>=20
> posted by: Rolf Schr=F6der <Rolf.Schroeder at desy.de>
>=20
> The only way is to load it in a browser like Mozilla... .
>=20
> Therr is an Euphoria lib in the archive to create an animated GIF,
> but as far as I know without possibility to display it.

There's several libs in the achives, all dos. One is a landscape you fly ov=
er,=20
in any direction you want, including backwards. The other is a running cat,=
=20
but it's not me. I would assume you can use Al's windows server to=20
sequence thru any background fed to it by a thread(s) generating it?

Kat

new topic     » goto parent     » topic index » view message » categorize

5. Re: Animated GIF

well..for now..i have kinda "gone through the back door" to do it anyway..

i opened the animated gif up in animation shop......saved each one of the
frames (was only 3.heh)....and set up a timer to rotate through the 3 frames
instead of just display the one....but yes, like you mentioned below...i've
lost my transparancy now.
Michelle Rogers
----- Original Message ----- 
From: "Derek Parnell" <guest at RapidEuphoria.com>
To: <EUforum at topica.com>
Sent: Tuesday, July 20, 2004 12:11 AM
Subject: Re: Animated GIF


>
>
> posted by: Derek Parnell <ddparnell at bigpond.com>
>
> Michelle Rogers wrote:
> >
> > Is there a way to show an animated gif?  The ways that I have found to
show
> > gifs only show one frame of a gif.
> >
>
> This is not a trival exercise. I have found some C/C++ code for
> loading GIF files and displaying them with animation, but it would
> take me a while to convert them into Euphoria. If you want the
> code it can be found at ...
>
>  http://www.codeproject.com/staticctrl/gifanimation/AnimationGif_src.zip
>
> or with transparency added ...
>
>  http://www.codeproject.com/staticctrl/gifanimation/AnimationGifEx_src.zip
>
> -- 
> Derek Parnell
> Melbourne, Australia
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

6. Re: Animated GIF

Michelle Rogers wrote:
> 
> well..for now..i have kinda "gone through the back door" to do it anyway..
> 
> i opened the animated gif up in animation shop......saved each one of the
> frames (was only 3.heh)....and set up a timer to rotate through the 3 frames
> instead of just display the one....but yes, like you mentioned below...i've
> lost my transparancy now.
> Michelle Rogers
Michelle,

Here's another way, though it requires converting the file to an .avi.
You could use the ACM_OPEN, ACM_PLAY and ACM_STOP messages in a 
sendMessage() call to play a windows .avi file.  Like I said, this requires
you to convert to an .avi but I'm pretty sure you could find a tool on 
the net to do the conversion for you.

FWIW...

Jonas

new topic     » goto parent     » topic index » view message » categorize

7. Re: Animated GIF

Michelle Rogers wrote:
> 
> Is there a way to show an animated gif?  The ways that I have found to show
> gifs only show one frame of a gif.

If you were using EuGTK, animated gif's work automatically. No additional 
code needed.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

8. Re: Animated GIF

Michelle Rogers wrote:
> 
> Is there a way to show an animated gif?  The ways that I have found to show
> gifs only show one frame of a gif.
> 
> Michelle Rogers
> 
> 
there are some OCX's (activeX controls) to work with these
which you could wrap with Matt's EUCOM.


 I'm having trouble finding
documentation for the free one I have.


--"ask about our layaway plan".
--

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu