PyGame Logo
PyGame
Documentation
||  Home  ||  Help Contents  ||
 
|| CD || Channel || Font || Joystick || Rect ||
|| Sound || Surface || pygame || cdrom || display ||
|| event || font || image || joystick || key ||
|| mixer || mouse || music || surfarray || time ||

pygame.image

Contains routines to load and (someday) save surfaces. This module must be manually imported, since it requires the use of the SDL_image library.
load - load an image to a new Surface

load
pygame.image.load(file, [namehint]) -> Surface