John Hunter wrote: > Sigve> That probably leaves us with the OSX problems, though. Ahh, > Sigve> fixed in CVS, ok then. > >I'm lost here -- as far as I know the endianess problem *was not* >fixed in CVS. I did add an agg method tostring_bgra to CVS which >appears to fix the reversed color problem. I haven't had a chance to >test this on OSX since my powerbook is at home... > > > Sorry about that, it came out wrong. Yes the inversed color could be fixed (I have not tested the CVS-version yet), the endiannes is not. You could try to change the endian in FigureCanvasQtAgg.draw() self.qimage = qt.QImage(self.stringBuffer, self.renderer.width, self.renderer.height, 32, None, 0, qt.QImage.IgnoreEndian, ) to self.qimage = qt.QImage(self.stringBuffer, self.renderer.width, self.renderer.height, 32, None, 0, qt.QImage.BigEndian, ) Or perhaps qt.QImage.LittleEndian if that is the way the conversion should go. Good luck! Regards, Sigve