From: Phil E. <ph...@li...> - 2007-05-22 16:21:37
|
Hi All: I'm written a short program for use at work - both the target and development platform is WinXP and I have Python 2.4, wxPython 2.6.3.2 and PythonCard 0.8.2 on the machine where I'm writing/testing the code. The program has the company logo displayed on the UI in the form of a transparent PNG graphic in the bottom right corner of the panel. The logo displays perfectly when I run my code either from a DOS prompt or by a double-click on the .py file in explorer. When I package the program up into an EXE, using standaloneBuilder, the resultant executable does not display the graphic correctly. It shows up with a black background instead of transparent. I get the same result regardless of whether I use pyInstaller or py2exe to do the conversion to EXE, which suggests to me that the problem may be due to the altered execution environment that is present when running a standalone application. Problem is, I have absolutely no idea where to start looking to troubleshoot this - can anybody offer any suggestions to get me going? The only thing I was able to think of was explicitly setting the background colour on the Image component so it matched the colour of the panel, but this didn't make any difference. -- Regards Phil Edwards Brighton, UK |