Yes, but that script does NOT save the animated gif as a file. I think the OP needed to save the animation to be sent out in a non-Tk application, like in a mail or html file.
Under UNIX/Linux, you can just load ONE image from a window with Tk::WinPhoto.
As zentara pointed it out just above, under Windows with Tk, it seems to be unfeasible ):
See this zentara's node for information