> Hi all,
>
> I'm building an application that will display a lot of images of various
> shapes and sizes in various levels of zoom, etc. You could think of it
> as a thumbnail image manager, although, that's not what it is. I'm
> wondering if there is a better control to use out there besides
> StaticBitmap. Reading the documentation, there is a limitation in that
> it won't handle images of size greater than 64x64. Is this still the
> limitation? If so, is there a public domain image widget out there that
> does better, or do I have to write my own? An initial search of the
> mailing list and google didn't turn anything up.
>
> Thanks in advance,
> Stephen
I guess you didn't try it
nor did you looked at the demo (Using Images
section)
You're right. I did look in the examples section, though. 
I don't think there is a 64x64 limit.
Yep, you're right, I guess GTK backend supports it and maybe Windows
doesn't.
Anyway I did something like this and it kindda works 
It uses PIL for image processing.
Take a look 
you'll need the latest 2.5 and ofcourse PIL 
I have PIL and latest 2.5, but I get a bunch of
Traceback (most recent call last):
File "tb.py", line 155, in OnGetItemImage
self.il.Replace(idx, fileToThumb(self.tlist[item], self.tsize))
File "tb.py", line 15, in fileToThumb
dc.SetBackground(wx.WHITE_BRUSH)
File "/usr/lib/python2.2/site-packages/wx/gdi.py", line 2493, in SetBackground
return _gdi.DC_SetBackground(*args, **kwargs)
wx.core.PyAssertionError: C++ assertion "wxAssertFailure" failed in ../src/gtk/dcclient.cpp(2038): invalid window dc
And then later a bunch of:
Traceback (most recent call last):
File "tb.py", line 154, in OnGetItemImage
idx = self.il.Add(wx.EmptyImage(self.twidth, self.theight).ConvertToBitmap())
File "/usr/lib/python2.2/site-packages/wx/core.py", line 2279, in EmptyImage
val = _core.new_EmptyImage(*args, **kwargs)
wx.core.PyAssertionError: C++ assertion "!IsVirtual()" failed in ../src/generic/listctrl.cpp(350): unexpected call to IsHighlighted
Not sure what that's all about, and I haven't delved into it yet, but
the code looks good and will help me out a lot, I think. It's a good
springboard to get me going, anyway, so thank you.
Stephen
···
On Fri, 2004-04-23 at 09:29, Peter Damoc wrote:
On Fri, 23 Apr 2004 08:57:29 -0400, Stephen Blake <sblake@redsiren.com> > wrote: