[Tutor] Opening a window to fit an image

Michael Lam iamscifius at yahoo.com
Wed Jan 7 07:39:38 CET 2009

I got a similar problem, except that calling it twice wouldn't work for me. I tried looking everywhere and I seemed to be doing everything exactly like other people..... After fiddling around, I got this order:

    window = pygame.display.set_mode((640, 480

Something wrong with using Surface.convert() as I originally used a load_image() function that did that.


More information about the Tutor mailing list