• =?UTF-8?B?aG93IGRvIEkgc3BsaXQgYW5pbWF0ZWQgZ2lmIGZyYW1lcyBpbnRvIGluZGl2aWR1YWwgZ2lmIGZpbGVz?=

    From =?UTF-8?B?SmlueHNEYWQ=?=@spooky130u@gmail.com to comp.lang.tcl on Sat Oct 26 21:09:10 2024
    From Newsgroup: comp.lang.tcl

    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.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Harald Oehlmann@wortkarg3@yahoo.com to comp.lang.tcl on Sun Oct 27 10:04:08 2024
    From Newsgroup: comp.lang.tcl

    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


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From =?UTF-8?B?SmlueHNEYWQ=?=@spooky130u@gmail.com to comp.lang.tcl on Sun Oct 27 15:51:19 2024
    From Newsgroup: comp.lang.tcl

    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.
    --- Synchronet 3.20a-Linux NewsLink 1.114