Package pyjsdl :: Module image :: Class Image

Class Image

object --+
         |
        Image

pyjsdl.image

Instance Methods
 
__init__(self)
Initialize Image module.
 
load(self, img_file, namehint=None)
Retrieve image from preloaded images. The img_file argument is an image URL, or an image data object whereby namehint argument is used to retrieve the image. Return the image as a Surface.
 
get_image(self, img_file)
Return the original image.
 
convert_image(self, image)
Return the image as a Surface.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

Initialize Image module.

Module initialization creates pyjsdl.image instance.

Overrides: object.__init__