Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the Icon of a MFC-Application without changing each sub-image?

when I open the application icon of a MFC-project with Visual Studio 2008 there are 13 images (different sizes, different color palette). How would you change the icon of your MFC-application without changing each image?

Thanks!

like image 428
Christian Ammer Avatar asked Jan 20 '23 03:01

Christian Ammer


1 Answers

I like to use the Icons file type extension with Paint.NET. When you open a .ICO file it will prompt you for which image to open - select only the largest / highest-bit image. Make your changes, and then save. You will be prompted for which sizes and bitness to save - select the same list that was present in the original icon.

Using this method, you will get automatically scaled and dithered icons at the smaller sizes. A designer would actually tweak the icons at each size to get the best look, but for most applications this technique produces something that is usable.

like image 101
Aidan Ryan Avatar answered Jan 29 '23 23:01

Aidan Ryan