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

Re: [pygame] Resized Surfaces and Speed



Ian Mallett wrote:
How do I crop an image?  i.e., make a new surface containing only a part of
the pixels of another surface?


Either blit from the bigger to the smaller, or use .subsurface().

--Noah

Attachment: signature.asc
Description: OpenPGP digital signature