Created
June 11, 2020 11:43
-
-
Save abhishekmamdapure/1dbf9339d2beb4c7b2ae78eac128d23d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PIL | |
image_frames = [] # creating a empty list to be appended later on | |
days = np.arange(1,365) | |
for k in days: | |
new_fram = PIL.Image.open(r'path\where\images\are\downloaded' + '\\' + str(k) + '.jpg') | |
image_frames.append(new_fram) | |
image_frames[0].save('tave_timelapse.gif',format='GIF', | |
append_images = image_frames[1: ], | |
save_all = True, duration = 100, | |
loop = 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment