On Mon, Oct 24, 2011 at 11:06 PM, Greg Ewing <greg.ew...@canterbury.ac.nz>wrote:
> John Jameson wrote: > >> Hi, >> I would like an efficient way to generate an animated grey-scale >> "pixellated" image... Another >> >> way might be to just generate the image as a 100X100 image but "magnified" >> and thus automatically obtaining the same result. Is this possible? >> > > You could try using pygame.transform.scale(), which according > the docs does "not sample the results". I always wondered about this. Not sampling in a scaling operation doesn't make sense. You need at least one sample to get a reconstruction. I suppose what is intended is that nothing more sophisticated (slower) than nearest is done.