What is the difference between ico file and png icon file

For Windows programming, can I use a PNG file as an icon?

+3
source share
2 answers

No.

ICO is actually a specialized file format that contains a collection of images with potentially different sizes and color depths. Png is a specific image.

What you can do is create .ico from .png. I found IconMaker convenient for this purpose.

+11
source

Well, the difference is that they are different file formats :-).

As for using them as icons in MS Windows:

Vista PNG ; Windows .ico. . , , , , PNG ( ), .ico .

+1

Source: https://habr.com/ru/post/1780779/


All Articles