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

RE: [pygame] pygame for 2d graphics



Thank you. I tried with  rotozoom and smoothscale too. Both are working fine
and solved the scalling problem.

Madhubala

-----Original Message-----
From: owner-pygame-users@xxxxxxxx [mailto:owner-pygame-users@xxxxxxxx] On
Behalf Of Brian Fisher
Sent: Thursday, March 20, 2008 3:08 AM
To: pygame-users@xxxxxxxx
Subject: Re: [pygame] pygame for 2d graphics

Also, pygame 1.8 will have a transform.smoothscale function that is a
filtered scale. It should run faster than rotozoom because it doesn't need
to consider rotation. Anybody who is doing scaling and wants it to look good
should probably install pygame 1.8 rc5 and try the smoothscale function.

On Wed, Mar 19, 2008 at 1:44 PM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> On Wed, Mar 19, 2008 at 9:50 AM, Brian Fisher 
> <brian@xxxxxxxxxxxxxxxxxxx>
> wrote:
>
> > try rotozoom instead of scale... scale is like a "nearest neighbor"
> > scale, so it throws out a lot of pixels. rotozoom is a resampler.
> >
> >
> Cool!  I didn't know that!
> Ian
>