the scaling of pics in pygame

Ramsey Nasser aladameh at gmail.com
Wed Apr 2 03:09:55 EDT 2008


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,  <lbonafide at yahoo.com> wrote:
> On Apr 1, 9:44 pm, Jimmy <mcknight0... at gmail.com> 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?
>
>  You might get a quicker answer at pygame.org - check the mailing list
>  and/or docs.
>
>
>
>  --
>  http://mail.python.org/mailman/listinfo/python-list
>



-- 
nasser



More information about the Python-list mailing list