Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Never laugh at live dragons. -- Bilbo Baggins [J.R.R. Tolkien, "The Hobbit"]


comp / comp.lang.tcl / Re: how do I split animated gif frames into individual gif files

SubjectAuthor
* how do I split animated gif frames into individual gif filesJinxsDad
+- Re: how do I split animated gif frames into individual gif filesHarald Oehlmann
`- RE: how do I split animated gif frames into individual gif filesJinxsDad

1
Subject: how do I split animated gif frames into individual gif files
From: JinxsDad
Newsgroups: comp.lang.tcl
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Sat, 26 Oct 2024 21:09 UTC
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx45.iad.POSTED!not-for-mail
Newsgroups: comp.lang.tcl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
From: spooky130u@gmail.com (JinxsDad)
Subject: how do I split animated gif frames into individual gif files
Lines: 38
Message-ID: <WTcTO.104920$S9Vb.50123@fx45.iad>
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Sat, 26 Oct 2024 21:09:10 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Sat, 26 Oct 2024 21:09:10 GMT
X-Received-Bytes: 1946
View all headers

I need to split GOES EAST satellite imagery (the loop) animated gifs into
individual frames that my JStrack users (regardless of platform) can run
using a pure Tcl/Tk alternative to Img. I seem to remember hos to do
this, two decades and two cancers ago, but not anymore.

I do remember that it was fairly simple, but that's it. I don't even
remember where to start. I DO remember that once I had the individual
frames, I used a while loop with sleep to create the proper frame rate
for cycling through the gif frames.

Any assistance in help my cancer nuked brain remember how I split those
gifs without Img, please let me know.

Thanks,
--jim

--
From my days in 16th Special Operations Wing Intelligence:

AN EXERCISE is a situation in which you stop what you're doing
in order to simulate doing what you were doing so you can show
someone else that you can simulate what you were doing as well
as you were doing it before you were interrupted.

Subject: Re: how do I split animated gif frames into individual gif files
From: Harald Oehlmann
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sun, 27 Oct 2024 09:04 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortkarg3@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: how do I split animated gif frames into individual gif files
Date: Sun, 27 Oct 2024 10:04:08 +0100
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <vfkvm6$8ffq$1@dont-email.me>
References: <WTcTO.104920$S9Vb.50123@fx45.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 27 Oct 2024 10:04:07 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2f2e939c54fa1465beebc1f45cfefa4d";
logging-data="278010"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1856jsqCBC9PjrgVoYm+pK8"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:CWwPmm659/J9JYazmkiQ35FxOro=
Content-Language: en-GB
In-Reply-To: <WTcTO.104920$S9Vb.50123@fx45.iad>
View all headers

Dear Jim,
thank you for the question.
You have the -index option to get a particular image from an animated gif.
So:
image create photo myphoto -file ani.gif -format "gif -index 1"

Will return the 2nd image in the gif file.

Remark that with Tk 9.0, you get the animation parameters in the
metadata property.

Thake care,
Harald

Am 26.10.2024 um 23:09 schrieb JinxsDad:
> I need to split GOES EAST satellite imagery (the loop) animated gifs into
> individual frames that my JStrack users (regardless of platform) can run
> using a pure Tcl/Tk alternative to Img. I seem to remember hos to do
> this, two decades and two cancers ago, but not anymore.
>
> I do remember that it was fairly simple, but that's it. I don't even
> remember where to start. I DO remember that once I had the individual
> frames, I used a while loop with sleep to create the proper frame rate
> for cycling through the gif frames.
>
> Any assistance in help my cancer nuked brain remember how I split those
> gifs without Img, please let me know.
>
> Thanks,
> --jim
>

Subject: RE: how do I split animated gif frames into individual gif files
From: JinxsDad
Newsgroups: comp.lang.tcl
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Sun, 27 Oct 2024 15:51 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx45.iad.POSTED!not-for-mail
Newsgroups: comp.lang.tcl
References: <WTcTO.104920$S9Vb.50123@fx45.iad>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
From: spooky130u@gmail.com (JinxsDad)
Subject: RE: how do I split animated gif frames into individual gif files
Lines: 46
Message-ID: <XjtTO.104922$S9Vb.51555@fx45.iad>
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Sun, 27 Oct 2024 15:51:19 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Sun, 27 Oct 2024 15:51:19 GMT
X-Received-Bytes: 2231
View all headers

On Sat Oct 26 21:09:10 2024 JinxsDad wrote:
> I need to split GOES EAST satellite imagery (the loop) animated gifs into
> individual frames that my JStrack users (regardless of platform) can run
> using a pure Tcl/Tk alternative to Img.

A new search string slipped past my chemobrain this morning:
"animated gif tcl/tk". It worked. I found anigif.tcl by
Ryan Casey at https://cardtable.sourceforge.net/tcltk/

It looks like a simple package I can just slip right into JStrack
(with credit, obviously). And it will work---I just finished
testing it. All I need to do is get the actual size of the image
from GOES EAST and set the height/width of the label widget it
uses to the satellite image's dimensions.

So thanks anyways, but this seems to have solved itself once
chemobrain let one get away. :-)

Thanks,
--jim

--
From my days in 16th Special Operations Wing Intelligence:

AN EXERCISE is a situation in which you stop what you're doing
in order to simulate doing what you were doing so you can show
someone else that you can simulate what you were doing as well
as you were doing it before you were interrupted.

1

rocksolid light 0.9.8
clearnet tor