Package pyj2d :: Module image :: Class Image

Class Image

object --+
         |
        Image

pyj2d.image

Instance Methods
 
__init__(self)
Initialize Image module.
 
load(self, img_file, namehint=None)
Load image from file as a java.awt.image.BufferedImage. The img_file can be a filename or file-like object. Return the bufferedimage 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 pyj2d.image instance.

Overrides: object.__init__