• Re: how do I split animated gif frames into individual gif files

    From Harald Oehlmann@21:1/5 to All on Sun Oct 27 10:04:08 2024
    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


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)