[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Alternative to pygame.Surface.subsurface



> Are you using pygame 1.8?  Can you try a 1.8.1 pre-release build?

I am using 1.8, and I just ended up creating a Rect on the area of the
image that I want to crop, and then I created a new surface and
blitted to that like so:

            crop_image =  pygame.Surface((crop_rect.width, crop_rect.height))
            crop_image.blit(image, (0,0), crop_rect)