Dear all
I would like to use the function loadFromData of QImage, specifically
with PIL. But the code
[...]
        imagePIL = Image.open(fileName)       # e.g. a PNG file
        data = self.imagePIL.tostring()            # this should
contain the data
        image = QtGui.QImage()
        image.loadFromData(data)
[...]
Why doesn't this work?