Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tcl Package to create animated GIF

111 views
Skip to first unread message

Alexandru

unread,
Oct 7, 2019, 6:53:56 AM10/7/19
to
Hi,

Do you know any Tcl package, that can create animateg GIF files from single images?

The "image" package says nothing about this and searching the web only shows some hits but only how to save a single frame GIF.

Thanks!
Alexandru

Rich

unread,
Oct 7, 2019, 7:11:55 AM10/7/19
to
Alexandru <alexandr...@meshparts.de> wrote:
> Hi,
>
> Do you know any Tcl package, that can create animateg GIF files from
> single images?

I do not.

But, a tiny bit of google fu turned up this:

mageMagick v6 Examples -- Animation Basics
http://www.imagemagick.org/Usage/anim_basics/

I got that link (plus others) from searching for: "imagemagic animated
gif".

If I search for "create animated gif" I get a large number of links to
ways to create animated gifs. None of which are Tcl modules, but some
of which (such as ImageMagik) can be used from Tcl by appropriate usage
of [exec].

> The "image" package says nothing about this and searching the web
> only shows some hits but only how to save a single frame GIF.

If you mean Tcl's 'image' package, it is intended for images (single
individual images that are viewed singly), so this is not surprising.

If you mean the "Img" extension package, it too is directed to handling
singular images, not a video file.

Alexandru

unread,
Oct 7, 2019, 7:25:32 AM10/7/19
to
Hi Rich, I realy mean "Tcl package". Of course there are lots of other tools to create aGIFs. If you google "Tcl animated gif" you will find nothing to create. Only to read.

I was thinking that, if there is no available solution in Tcl, one might write a new packate in pure Tcl to write the binary data as described in the GIF format.

On the other side, I think animated GIF is somehow old and not usual today. I'm not sure if it's worth the effort in developing for GIF in Tcl.

Ralf Fassel

unread,
Oct 7, 2019, 8:24:44 AM10/7/19
to
* Alexandru <alexandr...@meshparts.de>
| Hi Rich, I realy mean "Tcl package". Of course there are lots of other
| tools to create aGIFs. If you google "Tcl animated gif" you will find
| nothing to create. Only to read.
>
| I was thinking that, if there is no available solution in Tcl, one
| might write a new packate in pure Tcl to write the binary data as
| described in the GIF format.
>
| On the other side, I think animated GIF is somehow old and not usual
| today. I'm not sure if it's worth the effort in developing for GIF in Tcl.

If you can write them via TCL, the naive user (like myself :-) would
expect TCL also to be able to *display* animated GIFs...

R'

Alexandru

unread,
Oct 7, 2019, 8:32:36 AM10/7/19
to
Yes, there is something on the Wiki demonstrating how to show animated GIF in Tcl/Tk. In my case I want to generate animations that can be easy embeded in MS Office programms and websites, not in Tcl/Tk. aGIF is good but not perfect, due to the 265 colors limitation.

Uwe Klein

unread,
Oct 14, 2019, 1:02:26 PM10/14/19
to
Am 07.10.2019 um 13:25 schrieb Alexandru:
> Am Montag, 7. Oktober 2019 13:11:55 UTC+2 schrieb Rich:
>> Alexandru <alexandr...@meshparts.de> wrote:
>>> Hi,
>>>
>>> Do you know any Tcl package, that can create animateg GIF files from
>>> single images?
>>
>> I do not.
>>
>> But, a tiny bit of google fu turned up this:
>>
>> mageMagick v6 Examples -- Animation Basics
>> http://www.imagemagick.org/Usage/anim_basics/

there is also "gifsicle" around:
https://www.lcdf.org/gifsicle/

Uwe

0 new messages