[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] pygame.image.save(...)
- To: pygame-users <pygame-users@xxxxxxxx>
- Subject: [pygame] pygame.image.save(...)
- From: Ian Mallett <geometrian@xxxxxxxxx>
- Date: Tue, 27 Apr 2010 19:56:08 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 27 Apr 2010 22:56:19 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=2NdFSwElAJSdEqS3y4a792v+cxeo+aQG0inBY+qADwo=; b=UzliU5M4F2tcLzP+eGf961iLWcws+QLnYRyR6fDncwheLlCnCKRSKxhjMJnwIJ9Fx5 r6XeEolg9pR5CTLmcqbI/PXDw74s4IYALP/AqpLKWlI+2hVJHrVXrt2pgNZsjIfZEYKr obDRI2Lr7qczKpuysHsY3C+NfQNORq8ypio8A=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lyJabMpm2SHgOppmxobfQaFwd5rhg7hy/RCdVVil4QsEccpKY9pWBE1NnUpemw37zc UwWPjyRM1y0+mTOrh7RQNHYo/xKcOhx8D3evmjg5Vpdq4clhXYdCnJkxNVXeLU2MB4o6 XVrtjqI3wldD/dzqzgZPMaGB9NPWjDcFXxIOA=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
In a related email thread here, I've been trying (now successfully) to render a movie from a series of frames captured from a program I wrote.
The screen capturing is done via pygame.image.save(...). In my case, the surfaces that are being saved are derived from OpenGL framebuffer readbacks.
I've noticed that the first few dozen or so frames save in a fraction of a second, while subsequent frames take increasingly longer. This, obviously, gets annoying. I do not know why this is. Can someone please explain?
I am using PyGame 1.9.1.
Thanks,
Ian