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

Re: [pygame] pygame.transform.scale and anti-aliasing




pygame.image.scale is a bitmap-only scale, so you will lose a lot of quality with it and it will look bad - but it's fast. pygame.image.rotozoom will give you much higher quality filtered results, and will preserve the image quality.  I'm not sure about the outline - if you are blitting with alpha it should be ok.  If you are blitting with color_key than rotozoom might introduce anti-aliasing artifacts on the edges.

But yes, the function your looking for is rotozoom. 

Or use OpenGL.