'Initialize this PixMap from a PIL Image object.'

def fromImage(self, im):

    if (im.mode != 'RGBA'):
        im = im.convert('RGBA')
    data = (chr(0) + im.tostring())
    self.fromstring(data, im.size[0], im.size[1])
