imageio生成

    技术2022-07-10  89

    import imageio def genGif(): #搞几张图片 jpg_paths=["jpg/1.jpg","jpg/2.jpg","jpg/3.jpg"] gif_images=[] for path in jpg_paths: gif_images.append(imageio.imread(path)) imageio.mimsave("test.gif",gif_images,fps=1) #zhixing genGif();
    Processed: 0.032, SQL: 9