Thanks Psionman! Exactly what I needed to create a wx.Image from a PIL image (I didn't actually need a bitmap). The 1st line of the function might be simplified(?) to wx_image = wx.Image(*pil_image.size)