[wxPython] why does this crash on MSW?

Hello,

Can anybody tell me what's wrong with this image (attached)? It makes
PIL "paste" operationscrash on Windows, but not on Linux. Other 8-bit
images don't have this problem. Unfortunately, I have many of this type
of images to analyze. Below is a sample code fragment.

r = (20, 20, 70, 70)
aoi = self.im.crop(r)
out = aoi.filter(ImageFilter.SMOOTH)
self.im.paste(out, r)

Windows puts up the familiar error message:
Python.exe - Application Error
The instruction at "0x00dd..." referenced memory at "0x022...". The
memory could not be "written".

Does anybody else experience this problem?
Bob

pfx.tif (9.86 KB)

ยทยทยท

--
---------------------
Robert B. Klimek
NASA Glenn Research Center
robert.klimek@grc.nasa.gov
---------------------