This example will take 10 images in a row and save them to one folder on the Pi desktop. camera_time_lapse.py
Then run this code to make a compressed GIF from the images. images_to_gif.py
When you run the code, in the output window it will ask you to specify the image path.
Find your folder of images on the desktop, Right-click on them (two-finger click) and copy path.
Paste the path into the output window of the code editor.