[Image-SIG] how to subclass Image?

Fredrik Lundh fredrik at pythonware.com
Wed Mar 29 08:42:30 CEST 2006

William Henney wrote:

> I was wondering how one should best go about subclassing PIL's image
> class. This does not seem as straightforward as I thought it was going
> to be.

the Image class isn't designed to be subclassed by application code.  if
you want custom behaviour, use a delegating wrapper.

> Are there any plans to give a fully OO interface to PIL in the future?

fully OO ?  spent too much in Java land lately ?


More information about the Image-SIG mailing list