Re: the scaling of pics in pygame

2008-04-02 Thread alex23
On Apr 2, 12:44 pm, Jimmy <[EMAIL PROTECTED]> wrote: > I am using Pygame to write a small program. I tried to load a .jpg > picture into > the screen, however, the size of the pic doesn't fit into the window > properly. Can > anyone tell me how to scale the picture into the window? Have you tried

Re: the scaling of pics in pygame

2008-04-02 Thread Ramsey Nasser
Isn't PIL best suited for things like this? The resize function should do what you're looking for: http://www.pythonware.com/library/pil/handbook/image.htm On Wed, Apr 2, 2008 at 6:59 AM, <[EMAIL PROTECTED]> wrote: > On Apr 1, 9:44 pm, Jimmy <[EMAIL PROTECTED]> wrote: > > Hi, everyone > > > >

Re: the scaling of pics in pygame

2008-04-01 Thread lbonafide
On Apr 1, 9:44 pm, Jimmy <[EMAIL PROTECTED]> wrote: > Hi, everyone > > I am using Pygame to write a small program. I tried to load a .jpg > picture into > the screen, however, the size of the pic doesn't fit into the window > properly. Can > anyone tell me how to scale the picture into the window?

the scaling of pics in pygame

2008-04-01 Thread Jimmy
Hi, everyone I am using Pygame to write a small program. I tried to load a .jpg picture into the screen, however, the size of the pic doesn't fit into the window properly. Can anyone tell me how to scale the picture into the window? thanks! -- http://mail.python.org/mailman/listinfo/python-list