App icon Processing 3

With Processing 3 on windows, the only way I found to set an icon for your app is by adding this:
PImage icon = loadImage(“icon.png”);
Ok, but it’s quite limited cause you can just provide one size for the icon. But for exemple, on my setup, the app window use a 16x16 icon size, the taskbar a 24x24 size. It’s something else on the desktop.
Processing is able to adapt the size, but the result can be really bad…
Is there an other way to set the icon, using a proper .ico file including different sizes?