pygame  
pygame
documentation
||  Home  ||  Help Contents  ||
 
|| CD || Channel || Font || Joystick || Rect || Sound || Surface ||
|| pygame || UserRect || cdrom || constants || cursors || display || draw ||
|| event || font || image || joystick || key || mixer || mixer_music ||
|| mouse || surfarray || time || version ||

pygame.image

Contains routines to load Surfaces from image files. 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