cGDIPImageLoader, small class for "universal" image loading
This is a tiny, lightweight class which I put together some months ago for various uses. It is a "Universal" image loader - images can be loaded from file, bytes, image handle, or stdpicture. A few other useful functions are also contained within. No image caching nor other advanced techniques as this is intended to be only a simple loader.
Most of the code is my own, along with a few bits here & there which I shamelessly stole from Olaf Schmidt so as not to reinvent the wheel .
A simple demo is included.
EDIT: Demo program updated to allow resizing
EDIT 8/05/25: Final update, fixed a bug within the class which would cause an error when loading from an image handle.
Last edited by SomeYguy; Aug 5th, 2025 at 10:44 AM.