Does TImageEnMView support animated GIF thumbnails yet? Or just still single frame?
Loads my animated gifs just fine, but only 1 single frame each.
I can get around this making A CEF / Chromium box to load my images in and this "works" but lots of code/work to do so.... Easy to show them... pain in the butt to now interface back and forth between the web page and my app for simple stuff.
Animation is not supported for TImageEnMView thumbnails. Performance would be biggest issue there, e.g. a screen of 50 animated GIFs would need a lot of disk i/o and or memory (each one needing their own timing and to be scaled in real-time).
each list i tell the thumb size to be the exact size of the incoming images.
I have all 3 sizes already supplied.
I set in each TImageEnMView those sizes.
In this case not every image is animated. Just come in willy nilly.
And really only need to start animation on the ones visible at the time they are viewable by the user?
For now what I have works... just only show the image you have selected, if its animated, showed it animated off the far right side in each size flavor.
Chromium handles it really well showing A bunch of animated ones in A test but Chrome a bit more "Advanced" in the rendering engine department for this kind of situation
Scaling in itself is not a big issue, nor is loading the image (from disk or memory). The issue is that you would be doing it for every thumbnail on screen ten or so times a second. When testing your demo I had 360 images on screen, so you can imagine the CPU load when performing 3600 loading and drawing operations a second.
It would be a cool feature, but it would necessitate significant work on optimization and caching alone.