Phoenix ThumbnailCtrl Crash

Metallicow wrote:

Thumbnailctrl is complaining about SetAlphaData.

I changed it to this but seems to still be having slight problems.

def LoadThumbnail(self, filename, thumbnailsize):

                 try:
                     img.SetAlpha(pil.convert("RGBA").tostring()[3::4])
                 except:
                     img.SetAlphaData(pil.convert("RGBA").tostring()[3::4])
                 alpha = True

sometimes while changing dirs it crashes.
Any Ideas for a proper fix...?

Please make a runnable, small as possible, sample application that
demonstrates the problem. MakingSampleApps - wxPyWiki

···

--
Robin Dunn
Software Craftsman