Image widget updated with gif , jpg support#21
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive Image widget that supports native Tcl/Tk formats (PNG, GIF, PPM/PGM) and adds support for JPEG and BMP via transparent transcoding using the GD extension. A significant feature is the built-in support for animated GIFs, which are handled by parsing GIF frames and driving the animation loop directly within the Tcl event loop. The PR also includes detailed documentation, an updated example application, and a new test suite. Feedback focused on improving the robustness of Tcl command generation and temporary file handling. Specifically, the Tcl escaping logic for widget options needs to be more resilient to trailing backslashes to prevent interpreter crashes, and the use of tempnam() was recommended for more secure temporary file creation.
No description provided.