best way to display images?

I've just started using python with wxpython and the PIL module.

I want to load an image to display an image in a wxPanel and either alter
that image via pixel manipulations etc or load a new image in its place (i.e
discard first image, begin working on a new image) .

Now i'm assuming to be efficient about it i should either destroy the
original bitmap on loading a new one or the manipulated image in the
original images place, or be using a DC such as wxPaintDC and refreshing the
image? does this sound right or are there other / better ways to do it?

Dave

···

__________________________________

David McDonnell - 3D Artist - Blinkworks
dave@blinkworks.com.au
www.blinkworks.com.au
__________________________________

Dave, here is one simple working example.
Bob

wxNoPilSimple.py (3.36 KB)

···

At 04:52 PM 4/28/2003 +0800, you wrote:

I've just started using python with wxpython and the PIL module.

I want to load an image to display an image in a wxPanel and either alter
that image via pixel manipulations etc or load a new image in its place (i.e
discard first image, begin working on a new image) .

Now i'm assuming to be efficient about it i should either destroy the
original bitmap on loading a new one or the manipulated image in the
original images place, or be using a DC such as wxPaintDC and refreshing the
image? does this sound right or are there other / better ways to do it?