A Delphi 7 compatible multi-threaded image decoder and scaler based on GDI+ or WIC+Custom Resize
This demo decodes and scales images in the background as soon as you click the mouse anywhere in the form.
There is a compiler directive to control whether to use GDI+ or WIC+Custom Resize to load and resize the images. Since GDI+ code is serialized with a global lock, it's not well suited for background threads.
While the images are loaded and scaled, anti-aliased text is drawn using GDI+ against a semi-transparent layered window with rounded rectangle corners.
As soon as images are loaded, they are drawn next to the text.
You can use the keyboard to navigate the list or press space to animate to a random list position every 1000ms.
The demo also showcases how to use GDI+ to create a per-pixel semi-transparent window with rounded corners and animated scrolling text.
Flag images by Flagpedia @ https://flagpedia.net RockTV & Action Central images created using AI.