ScalePicture function works on StdPictures i.e. after ICO/JPG is loaded from file or resource.

> . . . it would be nice if you could make that DLL a fully native VB6 app. I know that may be a lot of work.

Yes, the algorithm and original C++ implementation look complicated but I found out there are Java, .Net and JS ports so it seems more doable now.

The weirdest thing I found out during this project is that at present there is no C++17 (or C++20 and beyond) compiler which emits 32-bit XP compatible binaries. Had to backport original xBRZ sources to C++14 and managed to trip on a landmine in VS2015 runtime with *documented* XP incompatibility on global state initialization vs threading.

cheers,
</wqw>