diff --git a/readme.md b/readme.md index 37dcc779..ed9f81c6 100644 --- a/readme.md +++ b/readme.md @@ -2350,15 +2350,20 @@ Parameter definitions visible - if False will create image as hidden size_px - size of image in pixels -### Image Methods +### `Update` Method -Like other Elements, the Image Element has an update method. Call Update if you want to change the image. +Like other Elements, the Image Element has an `Update` method. Call Update if you want to change the image. def Update(self, filename=None, data=None, visible=None): Choose **either** a filename or in-ram data image to use to replace current image - + +### `UpdateAnimation` Method + +Starting in version 3.23 you can specify an animated GIF as an image and can animate the GIF by calling `UpdateAnimation`. Exciting stuff. + + ## Button Element @@ -4967,5 +4972,5 @@ In the hands of a competent programmer, this tool is **amazing**. It's a must- The PySimpleGUI window that the results are shown in is an 'input' field which means you can copy and paste the results right into your code. \ No newline at end of file