RE: Number of frames in animated GIF

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Fri, 29 Feb 2008 17:56:17 +0100


With root you can write animated gi but you can read them. There is no way to retrieve the number of frames in a animated gif with a ROOT command.

-----Original Message-----
From: Vassili Maroussov
Sent: Friday, February 29, 2008 5:41 PM
To: Olivier Couet
Cc: roottalk
Subject: Re: [ROOT] Number of frames in animated GIF

I'm generating (a lot of) GIFs with various number of frames in ROOT and

I wanted to have a simple frame-by-frame viewer. Well, in a case if I call TImage::Open("anim.gif.N") with not existing frame N, how can I know that?

Cheers,

Vassili

Olivier Couet wrote:
> Hi,
>
> In principle you should know that when you build the animated gif.
> Simply count them when you add them in the animation.
> Is your animated gif build outside ROOT ?
>
> Cheers, olviier
>
> -----Original Message-----
> From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
> On Behalf Of Vassili Maroussov
> Sent: Friday, February 29, 2008 5:21 PM
> To: roottalk
> Subject: [ROOT] Number of frames in animated GIF
>
> Dear ROOTers,
>
> How to get number of frames in an animated GIF? I didn't find in the
> TSAImage a member function for that.
>
> Regards,
>
> Vassili
>
>
Received on Fri Feb 29 2008 - 17:56:26 CET

This archive was generated by hypermail 2.2.0 : Fri Feb 29 2008 - 23:50:01 CET