MCPcopy Create free account
hub / github.com/MotrixLab/MotionDiffuse / compose_gif_img_list

Function compose_gif_img_list

text2motion/utils/utils.py:61–64  ·  view source on GitHub ↗
(img_list, fp_out, duration)

Source from the content-addressed store, hash-verified

59
60
61def compose_gif_img_list(img_list, fp_out, duration):
62 img, *imgs = [Image.fromarray(np.array(image)) for image in img_list]
63 img.save(fp=fp_out, format='GIF', append_images=imgs, optimize=False,
64 save_all=True, loop=0, duration=duration)
65
66
67def save_images(visuals, image_path):

Callers

nothing calls this directly

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected