我目前试图用电影制作电影,但找不到有用的东西。 这是到目前为止我的代码: import time
from PIL import ImageGrab
x =0
while True:
try:
x+= 1
ImageGrab().grab().save('img{}.png'.format(str(x))
except:
movi
我试图每隔10毫秒采取屏幕截图并将它们设置为带有Timer的Picturebox.image。几秒钟的程序运行完美,但几秒钟后程序崩溃。我试图在代码的最后使用Dispose()函数来清除内存,但Dispose函数也给出错误。 (定时器的增加区间不工作) using System;
using System.Collections.Generic;
using System.ComponentM