wx.AlphaPixelData() is failing on windows server 2003. The sample code is given below. The same is working fine on windows xp. what could be the reason?
import wx class Size(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(250, 200)) absFilename = "C:\Python26\Lib\site-packages\win32\Demos\images\smiley.bmp" bmp = wx.Bitmap(absFilename, wx.BITMAP_TYPE_BMP) pixelData = wx.AlphaPixelData(bmp) if not pixelData: print "error" else: print "fine" app = wx.App(False) Size(None, -1, 'Test') app.MainLoop() -- View this message in context: http://old.nabble.com/wx.AlphaPixelData%28%29-is-failing-on-windows-server-2003-tp27847892p27847892.html Sent from the matplotlib - devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel