I've been messing around creating programs lately and I decided to change the icon of my program. I'm using a framework called OpenFrameworks, and it uses GLUT/OpenGL for graphics. I managed to change it by adding a rc script to my Visual Studio project that contains:
GLUT_ICON ICON src/glut.ico
This will change the icon. However, the same icon file will be used universally, so the icon image on the window of my application is shrunk down which causes extreme distortion, and the icon image on my task bar is stretched out. Is there a way to optimize these icons for the different locations they appear? Whether it's via rc scripting or any other route.