@asimilon - thank you for that! I installed gin and the gin_gui module, and the results of gin::applyResize() are extremely good!

Can you share how you get this into the ImageCache so it only has to be done once? Do you add the image with addImageToCache()? How do I generate a hash code ( i have not ever done that so far)?
EDIT:
I guess you do something like this?
auto hashCode = (juce::String("JUCEAppIcon_png") + "_iconCacheSalt").hashCode64();
auto newImage = juce::ImageCache::getFromHashCode(hashCode);
if (newImage.isNull())
{
newImage = gin::applyResize(appIcon, iconWidth, iconWidth);
juce::ImageCache::addImageToCache(newImage, hashCode);
}
g.drawImageWithin(newImage, iconRect.getX() + 70, iconRect.getY(), iconRect.getWidth(), iconRect.getHeight(), juce::RectanglePlacement::fillDestination );
